mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
Ladybird/Qt: Adjust the Inspector context menu by the device pixel ratio
Otherwise, the context menu is very out of position on devices with a device pixel ratio other than 1.
This commit is contained in:
parent
b5e8f0ebfe
commit
3e1ffc03c4
2 changed files with 3 additions and 11 deletions
|
@ -38,8 +38,6 @@ private:
|
|||
bool event(QEvent*) override;
|
||||
void closeEvent(QCloseEvent*) override;
|
||||
|
||||
QPoint to_widget_position(Gfx::IntPoint) const;
|
||||
|
||||
QScreen* m_current_screen;
|
||||
double m_device_pixel_ratio { 0 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue