"\t//GLib.debug(\"scroll %f\", dy);",
"\t",
"\tthis.distance += dy;",
- "\tif (this.distance < 1) {",
+ "\t if (this.distance < -1) {",
+ " ",
"\t\tBuilderApplication.settings.editor_font_size ++;",
"\t\tthis.distance = 0;",
"\t}",
- "\tif (this.distance > -1) {",
+ "\tif (this.distance > 1) {",
"\t\tBuilderApplication.settings.editor_font_size --;",
"\t\tthis.distance = 0;",
"\t}",