Skip to content

Commit 6f46bad

Browse files
authored
Update MainWindow.vala
1 parent ca7c8aa commit 6f46bad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MainWindow.vala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,15 +233,15 @@ namespace jorts {
233233
}
234234

235235
public void zoom_in() {
236-
if ((this.zoom + 25) <= this.max_zoom) {
236+
if ((this.zoom + 25) <= max_zoom) {
237237
this.remove_css_class (this.zoom.to_string());
238238
this.zoom = this.zoom + 25;
239239
this.add_css_class (this.zoom.to_string());
240240
}
241241
}
242242

243243
public void zoom_out() {
244-
if ((this.zoom - 25) >= this.min_zoom) {
244+
if ((this.zoom - 25) >= min_zoom) {
245245
this.remove_css_class (this.zoom.to_string());
246246
this.zoom = this.zoom - 25;
247247
this.add_css_class (this.zoom.to_string());

0 commit comments

Comments
 (0)