Revert "imagePage: Correctly align right-click menu"

This reverts commit 0ddecefe01.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/247>
This commit is contained in:
abu_shawarib 2023-06-24 01:02:32 +03:00 • committed by Sophie Herold
parent 982992d9a2
commit 33b4928c72

View file

@ -191,11 +191,6 @@ impl LpImagePage {
let rect = gdk::Rectangle::new(x as i32, y as i32, 0, 0);
if self.direction() == gtk::TextDirection::Rtl {
imp.popover.set_halign(gtk::Align::End);
} else {
imp.popover.set_halign(gtk::Align::Start);
}
imp.popover.set_pointing_to(Some(&rect));
imp.popover.popup();
}