Skip to content

Commit a41b744

Browse files
committed
Fixing issue with editor auto-scrolling.
1 parent 985e09a commit a41b744

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Editor.vala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public class Editor : Box {
5555
hscrollbar_policy = PolicyType.AUTOMATIC,
5656
child = canvas
5757
};
58+
((Viewport)_sw.child).scroll_to_focus = false;
5859
_sw.get_style_context().add_class( Granite.STYLE_CLASS_CHECKERBOARD );
5960

6061
/* Create the toolbar */

0 commit comments

Comments
 (0)