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

This commit is contained in:
Nishi 2026-05-07 18:40:14 +09:00
commit ad49a55812
6 changed files with 35 additions and 10 deletions

View file

@ -81,7 +81,7 @@ static void draw(MwWidget handle) {
if(render) {
MwPoint p;
if(n == 1 && arrlen(t->names) > 1 && i > 0) {
if(n == 1 && i > 0) {
MwRect r3 = r2;
r3.y = tab_height(handle);
@ -98,7 +98,7 @@ static void draw(MwWidget handle) {
MwLLClip(handle->lowlevel, NULL);
}
if(n == 1 && arrlen(t->names) > 1 && i < (arrlen(t->names) - 1)) {
if(n == 1 && i < (arrlen(t->names) - 1)) {
MwRect r3 = r2;
r3.x += r2.width - MwDefaultBorderWidth(handle);