summaryrefslogtreecommitdiff
path: root/micropython
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-12-30 10:29:02 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-12-30 10:29:02 (GMT)
commitb8ba1a9eba84f8bdcb9ca5dd992c64e40a17eabe (patch)
tree49b709d4673c426129b36b7d236423dc18c27bab /micropython
parent116c138079798ab0b4cf2e689b2e842ce4d07927 (diff)
widgets: ConfirmationView: Fix hit box problems
The ConfirmationView became broken when we converted it's images over to 2-bit RLE. That happened because the confirmation view relied on the the 1-bit RLE to dynamically generate hit boxes. Currently the code pre-calculates the hit box which is a waste of RAM. Let's rip out the existing hit box logic and replace it with much larger ("fat finger") hit targets. We make the touch() method more closely adopt the idioms of other UI components (e.g. don't return the dialog status... just whether or not we handled the touch). Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'micropython')
0 files changed, 0 insertions, 0 deletions