Skip to content

Commit fe0ad6c

Browse files
authored
magnifier.js: Port to classes and clean up (#13591)
Port all objects to classes Remove use of Lang.bind() Remove use of Mainloop module Clean up some deprecated Clutter usage Fix up some code styling No functional changes
1 parent 0185164 commit fe0ad6c

2 files changed

Lines changed: 351 additions & 391 deletions

File tree

js/ui/gestures/actions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,11 +522,11 @@ var ZoomAction = class extends BaseAction {
522522
}
523523

524524
if (zoom_in) {
525-
Magnifier.magInputHandler._zoom_in();
525+
Magnifier.magInputHandler._zoomIn();
526526
}
527527
else
528528
{
529-
Magnifier.magInputHandler._zoom_out();
529+
Magnifier.magInputHandler._zoomOut();
530530
}
531531

532532
this.last_time = time;

0 commit comments

Comments
 (0)