Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed Dec 13, 2024
1 parent 1b30878 commit 2e74c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/MultitaskingView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ namespace Gala {
switching_workspace_with_gesture = true;

var upper_clamp = (direction == LEFT) ? (active_workspace.index () + 0.1) : (num_workspaces - active_workspace.index () - 0.9);
var lower_clamp = (direction == RIGHT) ? -(active_workspace.index () + 0.1) : -(num_workspaces - active_workspace.index () - 0.9);
var lower_clamp = (direction == RIGHT) ? - (active_workspace.index () + 0.1) : - (num_workspaces - active_workspace.index () - 0.9);

new GesturePropertyTransition (workspaces, workspace_gesture_tracker, "x", null, target_x) {
overshoot_lower_clamp = lower_clamp,
Expand Down

0 comments on commit 2e74c72

Please sign in to comment.