Skip to content

Commit 0758d08

Browse files
committed
fixup! core(eckhart): Update Vertical Menu Leave event processing to the Vertical Menu Disable scrolling when the menu fits the screen
1 parent 52a1265 commit 0758d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/embed/rust/src/ui/layout_eckhart/firmware/vertical_menu.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ impl VerticalMenu {
7070
/// Check if the menu fits its area without scrolling.
7171
pub fn fits_area(&self) -> bool {
7272
// Check if the menu fits its area without scrolling
73-
self.total_height <= self.bounds.height() && self.offset_y == 0
73+
self.total_height <= self.bounds.height()
7474
}
7575

7676
/// Scroll the menu to the desired offset.

0 commit comments

Comments
 (0)