Skip to content

Fixes #121, removes code that doesn't do anything#122

Merged
Rangi42 merged 3 commits intogbdev:masterfrom
nummacway:master
Apr 6, 2026
Merged

Fixes #121, removes code that doesn't do anything#122
Rangi42 merged 3 commits intogbdev:masterfrom
nummacway:master

Conversation

@nummacway
Copy link
Copy Markdown
Contributor

Note: Removing the write to display property from gfx-editor.js requires that index.html be merged as well.
(Using a very big tilemap (that is displayed 128px wide and extends indefinitely in height) still clips off and hides the command line output. No change here.)

- `<div>` has no attribute called `"width"`
- I believe `overflow:auto` is better than `overflow:scroll`, because it doesn't display the scroll bars if they're not necessary
- Removed `display:none` because obviously useless (it's removed by the JS)
- First removed line fixes gbdev#121 (it constantly evaluates to 0)
- Second removed line is invalid code and does nothing at all
- Third removed line is only useful because the initial value in `index.html` is useless (I removed it in my other commit to this patch)
ResizeObserver became useless.
@ISSOtm ISSOtm requested a review from Rangi42 April 6, 2026 00:44
@Rangi42 Rangi42 merged commit 446d0d5 into gbdev:master Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants