feat: desktop - use MTK menu for desktop right-click menu
This commit is contained in:
@@ -210,8 +210,8 @@ inline void draw_context_menu(Canvas& c,
|
||||
|
||||
Rect menu = context_menu_rect(state, item_count, c.w, c.h,
|
||||
menu_w, item_h);
|
||||
c.fill_rect(menu.x + 2, menu.y + 2, menu.w, menu.h,
|
||||
Color::from_rgb(0x80, 0x80, 0x80));
|
||||
c.fill_rounded_rect(menu.x + 2, menu.y + 2, menu.w, menu.h, 4,
|
||||
Color::from_rgb(0x80, 0x80, 0x80));
|
||||
c.fill_rounded_rect(menu.x, menu.y, menu.w, menu.h, 4,
|
||||
colors::MENU_BG);
|
||||
c.rect(menu.x, menu.y, menu.w, menu.h, theme.border);
|
||||
|
||||
Reference in New Issue
Block a user