dont emit a viewport change event when marquee doesnt happen (#3036)

Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
Deep Tailor 2020-05-15 14:35:13 -07:00 committed by GitHub
parent 28f19ec310
commit fec1438806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -325,7 +325,7 @@ define([
} else {
// A history entry is created by startMarquee, need to remove
// if marquee zoom doesn't occur.
this.back();
this.plotHistory.pop();
}
this.$scope.rectangles = [];
this.marquee = undefined;