mirror of
https://github.com/ppy/osu
synced 2025-01-24 23:03:14 +00:00
Halve drag box padding
Allows the drag box borders to collapse in on themselves to a single line if the drag selection has zero width or height.
This commit is contained in:
parent
fad1f727bb
commit
29a3ab7e7a
@ -136,7 +136,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
? DrawWidth / ScreenSpaceDrawQuad.Width * 2
|
||||
: DrawHeight / ScreenSpaceDrawQuad.Height * 2;
|
||||
|
||||
Padding = new MarginPadding(-lineThickness);
|
||||
Padding = new MarginPadding(-lineThickness / 2);
|
||||
|
||||
InternalChildren = new Drawable[]
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user