resolve conflicts

akkartik
Aug 19, 2025, 4:52 AM
X6DXCO6KHXGD7LP3QRI6WSOAXYS67LAFK2ZUNH5B5QZIV3FCEH6QC

Dependencies

Change contents

  • edit in conf.lua at line 3
    [5.55][3.3687:3687](),[5.55][3.3687:3687](),[5.55][3.3687:3687]()
  • replacement in app.lua at line 71
    [5.870][5.994:1036](),[5.994][5.994:1036]()
    App.screen.resize = love.window.setMode
    [5.870]
    [5.1036]
    App.screen.resize = function(w, h, flags)
    -- Hack. On Linux with LÖVE 12, I've observed love.window.setMode go awry.
    -- Guidance from LÖVE folks (https://github.com/love2d/love/issues/2214)
    -- is that everything should be working with density-independent units
    -- most of the time, but on some platforms love.window.setMode doesn't do
    -- so. In that case, make sure to pass in values in raw pixel units to it.
    local w1 = love.window.getMode()
    local w2 = love.graphics.getDimensions()
    if w1 ~= w2 then
    w, h = love.window.toPixels(w, h)
    end
    love.window.setMode(w, h, flags)
    end
  • edit in app.lua at line 597
    [5.7988][5.40:668](),[5.7988][5.40:668](),[5.668][4.20:152](),[5.668][4.20:152]()
    App.screen.resize = function(w, h, flags)
    -- Hack. On Linux with LÖVE 12, I've observed love.window.setMode go awry.
    -- Guidance from LÖVE folks (https://github.com/love2d/love/issues/2214)
    -- is that everything should be working with density-independent units
    -- most of the time, but on some platforms love.window.setMode doesn't do
    -- so. In that case, make sure to pass in values in raw pixel units to it.
    local w1 = love.window.getMode()
    local w2 = love.graphics.getDimensions()
    if w1 ~= w2 then
    w, h = love.window.toPixels(w, h)
    end
    love.window.setMode(w, h, flags)
    end
    App.screen.size = love.window.getMode
    App.screen.move = love.window.setPosition
    App.screen.position = love.window.getPosition