mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
WindowServer: Fix typo 'reminder' -> 'remainder' in WindowManager
This commit is contained in:
parent
24b8301a0e
commit
b180132c87
Notes:
sideshowbarker
2024-07-17 07:47:25 +09:00
Author: https://github.com/thankyouverycool Commit: https://github.com/SerenityOS/serenity/commit/b180132c87 Pull-request: https://github.com/SerenityOS/serenity/pull/15009 Issue: https://github.com/SerenityOS/serenity/issues/10970 Issue: https://github.com/SerenityOS/serenity/issues/13036
1 changed files with 3 additions and 3 deletions
|
@ -2043,9 +2043,9 @@ Gfx::IntRect WindowManager::tiled_window_rect(Window const& window, WindowTileTy
|
|||
if (tile_type == WindowTileType::Bottom
|
||||
|| tile_type == WindowTileType::BottomLeft
|
||||
|| tile_type == WindowTileType::BottomRight) {
|
||||
auto half_screen_reminder = rect.height() % 2;
|
||||
rect.set_height(rect.height() / 2 + half_screen_reminder);
|
||||
rect.set_y(rect.height() - half_screen_reminder);
|
||||
auto half_screen_remainder = rect.height() % 2;
|
||||
rect.set_height(rect.height() / 2 + half_screen_remainder);
|
||||
rect.set_y(rect.height() - half_screen_remainder);
|
||||
}
|
||||
|
||||
Gfx::IntRect window_rect = window.rect();
|
||||
|
|
Loading…
Reference in a new issue