Change default lastPaletteHeight to a larger number than 0.#227
Open
mooreorless555 wants to merge 1 commit into
Open
Change default lastPaletteHeight to a larger number than 0.#227mooreorless555 wants to merge 1 commit into
mooreorless555 wants to merge 1 commit into
Conversation
…n't root-cause the issue as to why lastPaletteHeight remains 0 on refresh, but it does fix the entity panel becoming hidden when you save and update your project.
Contributor
|
An alternative way to fix might be to only set the element's height when OgmoEditor3-CE/src/level/editor/Editor.hx Line 471 in b2a5215 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is for that case where you click "Edit Project", do some stuff, then click "Save & Update", and you can't "see" the entity/decal palette anymore. From my experimenting, I think it turns out that
lastPaletteHeightwas setting the editor palette height to 0.This doesn't root-cause the issue as to why
lastPaletteHeightremains 0 on refresh, but it does fix the entity panel becoming hidden when you save and update your project.