I messed up the patch from ticket #3971, because I thought I could simplify it.
Sorry about that! This is now like in the original patch and fixes the ticket for real. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30926 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -847,16 +847,18 @@ SudokuView::MouseMoved(BPoint where, uint32 transit,
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint32 x, y;
|
uint32 x, y;
|
||||||
if (!_GetFieldFor(where, x, y)
|
bool isField = _GetFieldFor(where, x, y);
|
||||||
|
if (isField) {
|
||||||
|
fKeyboardX = x;
|
||||||
|
fKeyboardY = y;
|
||||||
|
}
|
||||||
|
if (!isField
|
||||||
|| (fField->FlagsAt(x, y) & kInitialValue) != 0
|
|| (fField->FlagsAt(x, y) & kInitialValue) != 0
|
||||||
|| !fShowCursor && fField->ValueAt(x, y) != 0) {
|
|| !fShowCursor && fField->ValueAt(x, y) != 0) {
|
||||||
_RemoveHint();
|
_RemoveHint();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
fKeyboardX = x;
|
|
||||||
fKeyboardY = y;
|
|
||||||
|
|
||||||
if (fShowHintX == x && fShowHintY == y)
|
if (fShowHintX == x && fShowHintY == y)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user