Few small tweaks

This commit is contained in:
Noah 2021-10-09 21:22:50 -07:00
parent 1a8a5eb94b
commit a112c19d76
3 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ function main() {
Events.OnLeave(function (e) {
delete colliders[e.Actor.ID()];
if (Object.keys(colliders).length === 0) {
if (Object.keys(colliders).length === 0 && !stickyDown) {
Sound.Play("button-up.wav")
Self.ShowLayer(0);
Message.Publish("power", false);

View File

@ -222,7 +222,7 @@ func PreloadAllChunkBitmaps(chunker *level.Chunker) {
for {
remaining := chunker.PrerenderN(10)
log.Info("Remain: %d", remaining)
log.Debug("Remain: %d", remaining)
// Set the load screen progress % based on number of chunks to render.
if loadChunksTarget > 0 {

View File

@ -60,7 +60,7 @@ func NewAddEditLevel(config AddEditLevel) *ui.Window {
window.SetButtons(ui.CloseButton)
window.Configure(ui.Config{
Width: 400,
Height: 240,
Height: 280,
Background: render.Grey,
})