resolve conflicts
Dependencies
- [2]
QRUFNFPPMerge text0 - [3]
BYFC3K36resolve conflicts - [4]
5255G4IVresolve conflicts - [5]
HKZATWO5resolve conflicts - [6]
JFFUF5ALoverride mouse state lookups in tests - [7]
36Z442IVback to commit 8123959e52f without code editing - [8]
JCXL74WVbring back everything from commit a68647ae22 - [9]
5X52XYQ3resolve conflicts - [10]
D2TYFYG2Merge text.love - [11]
HLIF3YQEMerge text0 - [12]
A3PSROTJreenable DPI scaling - [13]
YF2ATH2QMerge lines.love - [14]
ORRSP7FVdeduce test names on failures - [15]
T42Y5MLOexplicitly specify app name - [16]
AVTNUQYRbasic test-enabled framework - [17]
ZLJGZYQGselect text with shift + mouseclick - [18]
JNJ4R56Xsupport running tests multiple times - [19]
JMUD7T3Oget rid of ugly side-effects in tests - [20]
NILDKUJVMerge text0 - [21]
AD34IX2Zcouple more tests - [22]
UZHSWA3DMerge text0 - [23]
547OUOVJfix a bug with LÖVE 12 and DPI scaling - [24]
B4USRORMdisable DPI scaling - [*]
3QNOKBFMbeginnings of a test harness
Change contents
- edit in conf.lua at line 3
- replacement in app.lua at line 71
App.screen.resize = love.window.setModeApp.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 thenw, h = love.window.toPixels(w, h)endlove.window.setMode(w, h, flags)end - edit in app.lua at line 597
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 thenw, h = love.window.toPixels(w, h)endlove.window.setMode(w, h, flags)endApp.screen.size = love.window.getModeApp.screen.move = love.window.setPositionApp.screen.position = love.window.getPosition