config menu position change
@@ -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,
