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

This commit is contained in:
Nishi 2026-04-23 22:47:52 +09:00
commit ca7e50d911
2 changed files with 3 additions and 1 deletions

View file

@ -35,7 +35,7 @@ int main() {
// MwNpixmap, px,
// NULL);
MwViewportSetSize(vp, 1024, 1024);
MwCreateWidget(MwButtonClass, "btn", MwViewportGetViewport(vp), 256, 256, 128, 128);
MwCreateWidget(MwButtonClass, "btn", MwViewportGetViewport(vp), -64, 256, 128, 128);
MwAddUserHandler(w, MwNresizeHandler, resize, NULL);