only update scrollbar position if it will actually be drawn
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmFlM1cACgkQO3+8IhRO Y5gdBg/9EKw0P5Sx+exqVzPzrItCm22L19UXKM6a/6An499+w8ThGnjlTb+/46aR BLl5DNLsGjSPJw75G+AUugEcZFZE50yn108MnnpZv733+MtfEJaBkAquXvF53Jkd LH+XC6Xipjf/q10q40JtfACQBcc47NeiwwzuFGsTMQga5NunGuY1bHyb8fUvSzJt o1eDe+wIA17lcemHeXdj+QTtkcUN94GFZc1ag9VcwHDMra2ud5dKRqbiU35IcZrJ 6o5YtPvZJBMimcUjCfxbC1lVEd71okd7Y6YY1L0c/hI8kicX2GLJyW55DFuhx7G4 yKuXeJvyTaK22/uMfYuWsZLDQS3JjhiYrzRFfb3cv15fbvThbbzesnycWqqE9Bi1 3FsZ4+LZmwxNhcqVKQbm8OwbUw/1RgYKnkuBJvxagRkdcncm8/NFFBD7qTxTPRUj drJgFh+jyJPY8z5jY3i+4SbfKkug6fIH04qo6c4MgKHggvWxkEA++aM/OGUpkzUJ Atm6/yFn3890ZroLShHdZSQswqo1kxSzXr7vcMTvJWXHyTinhpKgc7pWQHg6qQsG s4KP1+gDvJrxreZ+j/HIRMcJKrL4eVY6E2MFgIZhUqGk9Oyzlhy9zQjMeWtEs9HK mEkaKhdaYdg5dxLwfNMxiLbTUntO4zfzlDs4NHS0MS2bPYvAXf0= =1/Fy -----END PGP SIGNATURE-----
2 files changed,
11 insertions(+),
8 deletions(-)
M
uxn-client/uxn-xrxs.sh
→
uxn-client/uxn-xrxs.sh
@@ -1,8 +1,11 @@
#!/bin/sh -ADDR=localhost -PORT=2650 +ADDR=209.141.55.64 +PORT=5460 -9pfuse 'tcp!${ADDR}!${PORT}' ./n/ & +9pfuse "tcp!${ADDR}!${PORT}" ./n/ & sleep 1 uxnemu ./xrxs.rom -echo "logout" >> ./n/ctl+if [ -e ./n/ctl ]; then + echo "logout" >> ./n/ctl +fi +fusermount -u ./n
M
uxn-client/xrxs.tal
→
uxn-client/xrxs.tal
@@ -626,16 +626,16 @@ @try-scroll-up-mouse ( -> )
.ncarts LDZ .list-height LDZ LTH ,&no-scroll-up JCN .list-top LDZ #00 EQU ,&no-scroll-up JCN .list-top LDZ #01 SUB .list-top STZ + ;update-sb-pos JSR2 &no-scroll-up - ;update-sb-pos JSR2 RTN @try-scroll-down-mouse ( -> ) .ncarts LDZ .list-height LDZ LTH ,&no-scroll-down JCN .list-top LDZ .list-height LDZ ADD .ncarts LDZ #01 ADD EQU ,&no-scroll-down JCN .list-top LDZ INC .list-top STZ + ;update-sb-pos JSR2 &no-scroll-down - ;update-sb-pos JSR2 RTN@@ -644,8 +644,8 @@ .select-index LDZ
DUP .list-top LDZ NEQ ,&no-scroll-up JCN .list-top LDZ #00 EQU ,&no-scroll-up JCN .list-top LDZ #01 SUB .list-top STZ + ;update-sb-pos JSR2 &no-scroll-up - ;update-sb-pos JSR2 RTN @try-scroll-down ( -> )@@ -653,8 +653,8 @@ .select-index LDZ
DUP .list-top LDZ .list-height LDZ ADD #01 SUB NEQ ,&no-scroll-down JCN .list-top LDZ .list-height LDZ ADD .ncarts LDZ #01 ADD EQU ,&no-scroll-down JCN .list-top LDZ INC .list-top STZ + ;update-sb-pos JSR2 &no-scroll-down - ;update-sb-pos JSR2 RTN @update-sb-pos ( -> )