Commit ecb18189 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

export as imgae uses min not max function

parent bc5f6e96
Pipeline #12767 passed with stage
in 12 minutes and 50 seconds
......@@ -2,6 +2,7 @@ minerva (13.1.3) stable; urgency=medium
* Bug fix: refreshing list of projects or list of users doesn't change active
page (#870)
* Bug fix: submap list must be selected to export from every submap (#874)
* Bug fix: export map as image properly uses bottom limit (#875)
-- Piotr Gawron <piotr.gawron@uni.lu> Wed, 14 Aug 2019 17:00:00 +0200
......
......@@ -187,7 +187,7 @@ AbstractCustomMap.prototype.registerMapClickEvents = function () {
var y1 = Math.max(0, topLeft.y);
var x2 = Math.min(self.getModel().getWidth(), rightBottom.x);
var y2 = Math.max(self.getModel().getHeight(), rightBottom.y);
var y2 = Math.min(self.getModel().getHeight(), rightBottom.y);
var polygon = "";
polygon += x1 + "," + y1 + ";";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment