Skip to content

Commit

Permalink
Align Context Menu to the right of the cursor
Browse files Browse the repository at this point in the history
Minor UI regression fix, context menu is now aligned to the right
of the cursor, matching 1.3.x behaviour.
  • Loading branch information
krir17 authored and mclegrand committed Oct 29, 2024
1 parent 70bfb56 commit 18b4a9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/contextmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ ContextMenu::ContextMenu(SPDesktop *desktop, SPObject *object, std::vector<SPIte

set_menu_model(gmenu);
set_position(Gtk::PositionType::BOTTOM);
set_halign(Gtk::Align::START);
set_has_arrow(false);
show_all_images(*this);
set_flags(Gtk::PopoverMenu::Flags::NESTED);
Expand Down

0 comments on commit 18b4a9b

Please sign in to comment.