CelestialCartographers / Loenn

A Visual Map Maker and Level Editor for the game Celeste but better than the other one
MIT License
163 stars 21 forks source link

remove trailing " - " in the window title when editing unsaved maps #21

Closed microlith57 closed 2 years ago

microlith57 commented 2 years ago
local function getWindowTitle(side)
    local name = sideStruct.getMapName(side)

    if name == "" then
        return meta.title
    end

    return string.format("%s - %s", meta.title, name)
end
Cruor commented 2 years ago

Targeting wrong branch, has no UI changes. Unsure if I like the approach here, need to think about it.