refactor(locker): scrollable menu in locker
This commit is contained in:
parent
abc591db6d
commit
b740ad246b
3 changed files with 18 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue