DoFileSelect()
function.
!image
Basically remove the preview and bottom part. Have it return true when selecting a new file.
Then update the RenderPopupMapLoad()
and RenderPopupMapSave()
accordingly (move the code from the DoFileSelect()
function).
Part 2
Make an "Add Image" popup in the Asset Manager, to load and add an im...none
background on master
is broken?(none)
theme, the grid background no longer loads. 0.7.4 was fine
![](https://cdn.discordapp.com/attachments/510879693982007316/698576213270331502/unknown.png)
This is probably related to https://github.com/teeworlds/teeworlds/pull/2459, so cc @Robyt3EditAddImage
.
The background checkers for the preview are also scaled for assets that aren't square, we could fix that if you want.
Closes #2550RenderBackground
anyway?
Closes #2552struct CQuad
in the map file matches the running clients representation. So its not isolated to the editors