mirror of https://github.com/lapce/lapce.git
config menu position change
This commit is contained in:
parent
ca66800f51
commit
a250a885af
|
@ -491,7 +491,10 @@ fn paint(&mut self, ctx: &mut PaintCtx, data: &LapceWindowData, _env: &Env) {
|
|||
Command::new(
|
||||
LAPCE_UI_COMMAND,
|
||||
LapceUICommand::ShowMenu(
|
||||
ctx.to_window(Point::new(size.width - 300.0, settings_rect.y1)),
|
||||
ctx.to_window(Point::new(
|
||||
size.width - size.height,
|
||||
settings_rect.y1,
|
||||
)),
|
||||
Arc::new(menu_items),
|
||||
),
|
||||
Target::Auto,
|
||||
|
|
Loading…
Reference in New Issue