aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-02-06 10:54:48 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-02-07 08:03:39 +0300
commita42a5ac696bdbed39a990e9e451985dc3ff9d7c9 (patch)
tree9d044600571f052ff19d41d09d3c0b88ecc028b2
parentb31c0359ebce114ae2f9b4e5df3dc37a93f5115e (diff)
downloadniri-a42a5ac696bdbed39a990e9e451985dc3ff9d7c9.tar.gz
niri-a42a5ac696bdbed39a990e9e451985dc3ff9d7c9.tar.bz2
niri-a42a5ac696bdbed39a990e9e451985dc3ff9d7c9.zip
layout: Remove redundant ()
-rw-r--r--src/layout/scrolling.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/scrolling.rs b/src/layout/scrolling.rs
index 66fb8e65..e1593251 100644
--- a/src/layout/scrolling.rs
+++ b/src/layout/scrolling.rs
@@ -3823,7 +3823,7 @@ impl<W: LayoutElement> Column<W> {
let current_prop = if full == 0. {
1.
} else {
- (current_tile_px + self.options.gaps) / (full)
+ (current_tile_px + self.options.gaps) / full
};
// FIXME: fix overflows then remove limits.