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:
parent
982992d9a2
commit
33b4928c72
1 changed files with 0 additions and 5 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue