Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lenemter committed Dec 13, 2024
1 parent e3f6deb commit f4bf4f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/SuperScrollAction.vala
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class Gala.SuperScrollAction : Clutter.Action {
public override bool handle_event (Clutter.Event event) {
if (
event.get_type () == SCROLL &&
(event.get_state() & display.compositor_modifiers) != 0
(event.get_state () & display.compositor_modifiers) != 0
) {

warning (event.get_device_type ().to_string ());
Expand Down
2 changes: 1 addition & 1 deletion src/Zoom.vala
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class Gala.Zoom : Object {
return;
}

var d = dx.abs () > dy.abs () ? dx : dy;
var d = dx.abs () > dy.abs () ? dx : dy;

if (d > 0) {
zoom (SHORTCUT_DELTA, true, AnimationsSettings.get_enable_animations ());
Expand Down

0 comments on commit f4bf4f5

Please sign in to comment.