mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
turned arround minimum Size for Seperator in reaction to issue #12020
This commit is contained in:
parent
409e58e67a
commit
5194c03992
@ -32,7 +32,11 @@
|
||||
Size2 Separator::get_minimum_size() const {
|
||||
|
||||
Size2 ms(3, 3);
|
||||
ms[orientation] = get_constant("separation");
|
||||
if (orientation == VERTICAL) {
|
||||
ms.x = get_constant("separation");
|
||||
} else { // HORIZONTAL
|
||||
ms.y = get_constant("separation");
|
||||
}
|
||||
return ms;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user