-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Report: Chart-Editor's playbars Open Menus without it indicating in 'Window' Dropdown #4141
Comments
I just found out yesterday about this way of opening menus through bottom-left ctrl+left click action, and found bug accidentally too. // line 2879:
playbarBPM.onClick = _ -> {
if (FlxG.keys.pressed.CONTROL)
{
this.setToolboxState(CHART_EDITOR_TOOLBOX_METADATA_LAYOUT, true);
/*
Update Window's Dropdown toggle checks,
some kind of switch case or loop for check
*/
}
else
{
Conductor.instance.currentTimeChange.bpm += 1;
this.refreshToolbox(CHART_EDITOR_TOOLBOX_METADATA_LAYOUT);
}
} |
Hey, thankyou for doing the legwork for this tiny issue. I'll look into fixing this. Hmm, I'd have to add a way for it to check whether a toolbox is open or not, or a way to cancel the onchange event of the window toolbox stuff and I don't really know if there's a way or how to do either. But then again, it's not a big deal that it just simply opens twice. |
Now has a pending PR. |
woah nice caaatch |
Description: This PR adds switch logic for all playbars: Difficulty (playbarDifficulty) - Ctrl + Click -> open /close Difficulty Window BPM (playbarBPM) - Ctrl + Click -> open /close Metadata Window Note Snap (playbarNoteSnap) - Ctrl + Click -> open/close Note Window Song Remaining Time (playbarSongRemaining) (new toolbox function) - Click -> Offsets Window Also: Fixes FunkinCrew#4141 This repo will conflict with FunkinCrew#4143 since that PR fixes same bug.
I fixed bug in #4229 (PR with changes in playbars, was required). |
It's a bit weird to make a public report and then have to fix it yourself later, but it is what it is. |
And could we change Development PR, since the current one is closed, by any chance? |
We can't link your PR manually, but we can see that yours is open. |
Issue Checklist
Platform
Itch.io (Downloadable Build) - Windows
Browser
None
Version
0.5.3
Description (include any images, videos, errors, or crash logs)
Chart-Editor's playbars in bottom left corner opens popup menus without it indicating in 'Window' menu.
The checkmarks of corresponding menus turn on only when pressed manually on dropdown menu, isn't updating in any of playbars's pressing occurence
(variable names from ChartEditorState.hx):
playbarDifficulty (Difficulty Window)
playbarBPM (Metadata Window)
2025-02-14.19-40-34.mp4
P.S First click on inactive Window dropdown after reprodusing bug will do nothing except making check appear
Steps to Reproduce
Solution
PR #4229
The text was updated successfully, but these errors were encountered: