mousefocus handler

akkartik
May 20, 2024, 5:41 AM
CM76TS5ROLJ5B7KQWIYGEDMY7MPBVM23H23PAXOWUAFPC3WSFZZAC

Dependencies

  • [2] KKMFQDR4 editing source code from within the app
  • [*] OTIBCAUJ love2d scaffold
  • [*] 2Y7YH7UP infrastructure for caching LÖVE text objects

Change contents

  • edit in main.lua at line 344
    [5.102]
    [2.191261]
    function App.mousefocus(in_focus)
    if current_app_is_warning() then return end
    if Current_app == 'run' then
    if run.mouse_focus then run.mouse_focus(in_focus) end
    elseif Current_app == 'source' then
    if source.mouse_focus then source.mouse_focus(in_focus) end
    else
    assert(false, 'unknown app "'..Current_app..'"')
    end
    end