File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ namespace jorts {
5252 public string content;
5353 public int64 zoom;
5454
55- private int max_zoom;
56- private int min_zoom;
55+ private static int max_zoom = 200 ;
56+ private static int min_zoom = 50 ;
5757
5858 public Gtk . EditableLabel notetitle;
5959
@@ -90,13 +90,6 @@ namespace jorts {
9090 this . update_theme(this . theme);
9191
9292
93- this . zoom = zoom;
94- this . max_zoom = 200 ;
95- this . min_zoom = 50 ;
96-
97-
98-
99-
10093 // add required base classes
10194 this . add_css_class(" rounded" );
10295 this . add_css_class (" animations" );
@@ -212,6 +205,7 @@ namespace jorts {
212205 this . theme = data. theme;
213206 this . content = data. content;
214207 this . zoom = data. zoom;
208+ this . set_zoom(this . zoom)
215209 this . set_default_size ((int )data. width, (int )data. height);
216210 this . set_title (this . title_name);
217211 }
You can’t perform that action at this time.
0 commit comments