remove one fiddly bit we no longer need

akkartik
May 20, 2024, 7:52 AM
2V75KMBRQEF4HTRUMGUELRUST5RIV66ATSLMTVL4BRHAI7BQ72LQC

Dependencies

  • [2] OL5RDL6Z slightly shrink the clickable area for a button
  • [3] PW2VGQWN indent
  • [4] GDJSZLYT allow buttons to nest as well
  • [5] LJUJH5GP bugfix: propagate mouse press if any button would
  • [6] XX7G2FFJ intermingle freehand line drawings with text
  • [7] Q3EQI5LI some keyboard shortcuts on non-mobile devices
  • [8] PP2IIHL6 stop putting button state in a global

Change contents

  • replacement in button.lua at line 25
    [3.512][2.0:66]()
    if x>ev.x and x<ev.x+ev.w-1 and y>ev.y and y<ev.y+ev.h-1 then
    [3.512]
    [3.18]
    if x>ev.x and x<ev.x+ev.w and y>ev.y and y<ev.y+ev.h then
  • replacement in button.lua at line 42
    [3.190][2.67:135]()
    if x>ev.x and x<ev.x+ev.w-1 and y>ev.y and y<ev.y+ev.h-1 then
    [3.190]
    [3.254]
    if x>ev.x and x<ev.x+ev.w and y>ev.y and y<ev.y+ev.h then