Commit 74bad083 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

zoom level was not reflected in url on submap open

parent ac817c7e
Pipeline #34548 failed with stage
in 16 minutes and 8 seconds
minerva (15.1.1) stable; urgency=medium
* Bug fix: export to CD maps with species containing ":" or "." in species id
generated files that could not be opened in CellDesigner (#1363)
* Bug fix: zoom level change was not reflected in the url when submap was
opened (#1338)
-- Piotr Gawron <piotr.gawron@uni.lu> Thu, 23 Nov 2020 15:00:00 +0200
......
......@@ -376,6 +376,7 @@ function addUrlChangeListenersToCustomMap(customMap) {
GuiConnector.setUrlParam("x", Math.round(event.arg.x).toString());
// noinspection JSSuspiciousNameCombination
GuiConnector.setUrlParam("y", Math.round(event.arg.y).toString());
GuiConnector.setUrlParam("zoom", event.object.getZoom().toString());
};
var onZoomChangedHandler = function (event) {
......
Supports Markdown
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