mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
turned arround minimum Size for Seperator in reaction to issue #12020
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user