bugfix: gridlines always span entire window
To fix this we ensure Viewport (w,h) always matches screen/window dimensions. We choose to track viewport (x,y) by file but (w,h) globally. Seems a little less jarring than (w,h) by file.
This commit is contained in:
parent
721f58d62e
commit
f1bd89cb5e
|
@ -6,6 +6,7 @@ on.initialize = function(arg)
|
|||
if Settings[Filename] then
|
||||
Viewport = Settings[Filename].viewport
|
||||
end
|
||||
Viewport.w, Viewport.h = App.screen.size()
|
||||
load_graph_from_disk()
|
||||
A()
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue