mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 17:48:37 +00:00
WindowServer+LibGUI: Shrink window edge resize hot-spots
The hot-spots for resizing a window by dragging its corner are now limited to a small area around the actual corner instead of an area with 1/3rd the length or width of the window. The hot-spots to resize a window while holding a modifier key and the right mouse button are unchanged.
This commit is contained in:
parent
eb9db167da
commit
8202beeb2b
Notes:
sideshowbarker
2024-07-17 06:02:51 +09:00
Author: https://github.com/Maato
Commit: 8202beeb2b
Pull-request: https://github.com/SerenityOS/serenity/pull/15544
15 changed files with 107 additions and 62 deletions
15
Userland/Libraries/LibGUI/ResizeDirection.h
Normal file
15
Userland/Libraries/LibGUI/ResizeDirection.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Mart G <martg_@hotmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Services/WindowServer/ResizeDirection.h>
|
||||
|
||||
namespace GUI {
|
||||
|
||||
using ResizeDirection = WindowServer::ResizeDirection;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue