Decompile 2 functions in Source/UI/Buttons/UIButton.cpp

Batch #17423 by eAthena: 2 byte-identical, 0 confirmed by peer review.

- fn_10868 UIButton::OnMouseMove: byte-identical
- fn_10870 UISpriteButton2::OnMouseMove: byte-identical (already on main)

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-11 22:36:08 +00:00
commit fdf4da9e7e

View file

@ -121,12 +121,11 @@ void UIButton::OnMouseMove(int x, int y) {
this->Invalidate();
}
UIWindow* parent = this->parent;
if (parent == g_windowMgr.basicInfoWnd) {
if (this->parent == g_windowMgr.basicInfoWnd) {
if (this->geometry.state == 0) {
parent->SendMsg(this, UM_COMMAND, ID_APPLY, 0, 0, 0);
this->parent->SendMsg(this, UM_COMMAND, ID_APPLY, 0, 0, 0);
} else {
parent->SendMsg(this, UM_COMMAND, ID_APPLY, 1, 0, 0);
this->parent->SendMsg(this, UM_COMMAND, ID_APPLY, 1, 0, 0);
}
}
}