Un-internal killFocusForEverythingExceptInner

This commit is contained in:
DBotThePony 2022-03-05 16:22:41 +07:00
parent fb5ed4bf7e
commit 9ce7cfedde
Signed by: DBot
GPG Key ID: DCC23B5715498507
2 changed files with 3 additions and 3 deletions

View File

@ -220,11 +220,11 @@ public abstract class MatteryScreen<T extends MatteryMenu> extends AbstractConta
var panel = panels.get(i); var panel = panels.get(i);
if (happen_to_click) { if (happen_to_click) {
panel.killFocusForEverythingExceptInner$overdrive_that_matters(); panel.killFocusForEverythingExceptInner();
} else if (panel.mouseClickedChecked(p_97748_, p_97749_, p_97750_)) { } else if (panel.mouseClickedChecked(p_97748_, p_97749_, p_97750_)) {
happen_to_click = true; happen_to_click = true;
} else { } else {
panel.killFocusForEverythingExceptInner$overdrive_that_matters(); panel.killFocusForEverythingExceptInner();
} }
} }

View File

@ -694,7 +694,7 @@ open class EditablePanel @JvmOverloads constructor(
} }
} }
internal fun killFocusForEverythingExceptInner() { fun killFocusForEverythingExceptInner() {
for (child in children) { for (child in children) {
child.killFocusForEverythingExceptInner() child.killFocusForEverythingExceptInner()
} }