fix
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
Nishi 2026-09-26 17:43:41 +09:00
commit 0d27c78b02

View file

@ -373,11 +373,13 @@ static int is_bottom_right(MwWidget handle, MwPoint* p) {
static void mouse_move(MwWidget handle) { static void mouse_move(MwWidget handle) {
MwSubWindow sw = handle->internal; MwSubWindow sw = handle->internal;
if(handle->pressed) return;
if(is_bottom_right(handle, &handle->mouse_point)) { if(is_bottom_right(handle, &handle->mouse_point)) {
if(sw->mouse_cache == 0) MwLLSetCursor(handle->lowlevel, &MwCursorBottomRight, &MwCursorBottomRightMask); if(sw->mouse_cache == 0) MwLLSetCursor(handle->lowlevel, &MwCursorBottomRight, &MwCursorBottomRightMask);
sw->mouse_cache = 1; sw->mouse_cache = 1;
} else if(!handle->pressed && sw->mouse_cache != 0) { } else if(sw->mouse_cache != 0) {
sw->mouse_cache = 0; sw->mouse_cache = 0;
MwLLSetCursor(handle->lowlevel, &MwCursorDefault, &MwCursorDefaultMask); MwLLSetCursor(handle->lowlevel, &MwCursorDefault, &MwCursorDefaultMask);