Skip to content
Snippets Groups Projects
Commit 88a40e19 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '875-export-as-image-y-max' into 'devel_13.1.x'

Resolve "Export map as map/image exports y = max"

See merge request !882
parents 46241de0 ecb18189
No related branches found
No related tags found
2 merge requests!925Merge 13.2.0,!882Resolve "Export map as map/image exports y = max"
Pipeline #12769 passed
......@@ -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 + ";";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment