mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-26 22:21:40 -04:00
change seed option menu styling
This commit is contained in:
@@ -222,6 +222,9 @@ bool Pane::focus_closest_child(float posY) {
|
||||
} else if (posY >= 0.f) {
|
||||
float closestRightChildDistance = std::numeric_limits<float>::max();
|
||||
for (const auto& child : children()) {
|
||||
if (child->disabled()) {
|
||||
continue;
|
||||
}
|
||||
float distance = std::abs(posY - child->root()->GetAbsoluteTop());
|
||||
if (distance < closestRightChildDistance) {
|
||||
closestchild = child->root();
|
||||
|
||||
Reference in New Issue
Block a user