bugfix: only check for settings menu when open

akkartik
Dec 3, 2023, 11:49 PM
OJGIQLZWADBO2UN2BLF5RCNQHQW3TQYP6EEA6QCK2PLV4TJGCWAQC

Dependencies

  • [2] NVZTMKER partition handlers between screen regions
  • [3] MZ3DMYPD start sketching out a scrollbar
  • [4] VAVXKWZV aggregate global state inside a 'pane' object
  • [5] Z5M23NTK implement second, 'output' editor
  • [6] 5RUFNRJO start of the visual skeleton
  • [7] JV27LDDK sliders for font size and color settings
  • [8] RK2ASPN7 add lots of buttons to the toolbar
  • [9] ZM7NOBRM new fork: carousel shell
  • [10] 6DJMOJKE support event handlers
  • [11] 2Q437U4F starting to experiment with animated pane transitions

Change contents

  • replacement in 0017-on.mouse_release at line 9
    [2.166][2.166:217]()
    if on_area(Settings_menu_area, x,y) then
    return
    [2.166]
    [2.217]
    if Show_settings then
    if on_area(Settings_menu_area, x,y) then
    return
    end
  • replacement in 0012-on.draw at line 25
    [3.1960][3.3033:3036](),[3.2223][3.3033:3036](),[3.3033][3.3033:3036]()
    end
    [3.2223]
    love.graphics.print('06', 20,150)
    if Settings_menu_area.x then
    App.color{r=1, g=0.8, b=0}
    love.graphics.rectangle('line', Settings_menu_area.x, Settings_menu_area.y, Settings_menu_area.w, Settings_menu_area.h)
    end
    end