refactor(locker): scrollable menu in locker

This commit is contained in:
Ashley Wulber 2025-06-26 15:31:10 -04:00 committed by Ashley Wulber
parent abc591db6d
commit b740ad246b
3 changed files with 18 additions and 5 deletions

View file

@ -46,7 +46,7 @@ use wayland_client::{Proxy, protocol::wl_output::WlOutput};
use zbus::{Connection, proxy};
use crate::{
common::{self, Common},
common::{self, Common, DEFAULT_MENU_ITEM_HEIGHT},
fl,
};
@ -381,7 +381,6 @@ pub struct App {
impl App {
fn menu(&self, id: SurfaceId) -> Element<Message> {
const DEFAULT_MENU_ITEM_HEIGHT: f32 = 36.;
let window_width = self
.common
.window_size