ok
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-09-28 10:58:21 +09:00
commit a6202258b7

View file

@ -89,7 +89,7 @@ static void draw(MwWidget handle) {
rt.y = r.y;
if(MwGetInteger(handle, MwNshowArrows)) {
MwDrawTriangle(handle, &rt, base, (handle->pressed && scr->point.y <= uy) ? 1 : 0, MwNORTH);
if(handle->pressed && scr->point.y <= uy) {
if(handle->pressed && scr->point.y < uy) {
add_value(handle, -1);
}
} else {
@ -114,7 +114,7 @@ static void draw(MwWidget handle) {
rt.x = r.x;
if(MwGetInteger(handle, MwNshowArrows)) {
MwDrawTriangle(handle, &rt, base, (handle->pressed && scr->point.x <= ux) ? 1 : 0, MwWEST);
if(handle->pressed && scr->point.x <= ux) {
if(handle->pressed && scr->point.x < ux) {
add_value(handle, -1);
}
} else {