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:
parent
c5a73698cc
commit
fdf4da9e7e
1 changed files with 3 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue