X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=macros%2Fslideeditor-snapshot.vys;h=80ba1027dfdd573173a22735f10db9e2cb5618da;hb=d483bd8e6523c23c6f1d8908a2e0611c2bc9ff4f;hp=0aec4c3f24daa2214170a36e6d46554579e780d8;hpb=7dfa3fe589d1722d49681f42cdb0bf1e6efb5223;p=sven%2Fvym.git diff --git a/macros/slideeditor-snapshot.vys b/macros/slideeditor-snapshot.vys index 0aec4c3..80ba102 100644 --- a/macros/slideeditor-snapshot.vys +++ b/macros/slideeditor-snapshot.vys @@ -1,5 +1,6 @@ -# Template for taking snapshots in slideeditor +// Template for taking snapshots in slideeditor -setMapZoom(CURRENT_ZOOM); -setMapRotation(CURRENT_ANGLE); -centerOnID(CURRENT_ID); +map = vym.currentMap(); +map.setMapZoom(CURRENT_ZOOM); +map.setMapRotation(CURRENT_ANGLE); +map.centerOnID(CURRENT_ID);