aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/plugins/workspace.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/plugins/workspace.lua b/data/plugins/workspace.lua
index a4fa4efe..6426cbdb 100644
--- a/data/plugins/workspace.lua
+++ b/data/plugins/workspace.lua
@@ -163,9 +163,9 @@ local function load_node(node, t)
if t.active_view == i then
active_view = view
end
- if not view:is(DocView) then
- view.scroll = v.scroll
- end
+ if not view:is(DocView) then
+ view.scroll = v.scroll
+ end
end
end
if active_view then