mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 18:17:44 +00:00
Ladybird/AppKit: Listen for device pixel ratio changes
This commit is contained in:
parent
7718842829
commit
0574c0e474
6 changed files with 28 additions and 5 deletions
|
@ -472,6 +472,11 @@ enum class IsHistoryNavigation {
|
|||
}
|
||||
}
|
||||
|
||||
- (void)windowDidChangeBackingProperties:(NSNotification*)notification
|
||||
{
|
||||
[[[self tab] web_view] handleDevicePixelRatioChange];
|
||||
}
|
||||
|
||||
- (BOOL)validateMenuItem:(NSMenuItem*)item
|
||||
{
|
||||
if ([item action] == @selector(toggleLineBoxBorders:)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue