mirror of
https://github.com/blondie7575/WeeGUI.git
synced 2025-03-03 02:29:01 +00:00
Bug fixes
- Positive scroll values now clamped
This commit is contained in:
parent
54d869195c
commit
28956650ff
@ -2,8 +2,6 @@
|
||||
Known issues
|
||||
------------
|
||||
|
||||
- Negative cursor positions unsupported
|
||||
- Positive scroll values unsupported
|
||||
- Hitting Reset in app that uses windows and desktop (no mouse needed) seems to mess up screen holes for Disk II
|
||||
- Mashing a button with mouse in Applesoft will cause Undefined Statement error
|
||||
- Repainting a view while the mouse cursor is on it will cause artifacts when mouse moves
|
||||
|
8
views.s
8
views.s
@ -973,6 +973,10 @@ WGScrollX:
|
||||
|
||||
LDY_ACTIVEVIEW
|
||||
pla
|
||||
bmi WGScrollX_Store
|
||||
lda #0 ; Prevent positive scroll values
|
||||
|
||||
WGScrollX_Store:
|
||||
sta WG_VIEWRECORDS+5,y
|
||||
jsr cacheClipPlanes ; Scroll offset changed, so clipping cache is stale
|
||||
|
||||
@ -1043,6 +1047,10 @@ WGScrollY:
|
||||
|
||||
LDY_ACTIVEVIEW
|
||||
pla
|
||||
bmi WGScrollY_Store
|
||||
lda #0 ; Prevent positive scroll values
|
||||
|
||||
WGScrollY_Store:
|
||||
sta WG_VIEWRECORDS+6,y
|
||||
jsr cacheClipPlanes ; Scroll offset changed, so clipping cache is stale
|
||||
|
||||
|
BIN
weegui.dsk
BIN
weegui.dsk
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user