Skip to content

Conversation

@prayerie
Copy link

closes #179 #136 #54

This is what the dialogue looks like - it is an extra set of options on top of the zap -> instruments menu

Screenshot_2025-11-23_22-21-57

Also, requires NitrousTracker/libntxm#21, because of a bug in Song.cpp that causes massive delays the more null instruments there are between two non-null ones

@prayerie
Copy link
Author

i'm thinking maybe this should just be a little "-" button under the instrument list, as i'm not sure otherwise people unfamiliar with the feature would discover it exists, as currently zap->instruments just deletes all of them

{
deleteMessageBox();
mb = new MessageBox(&sub_vram, "which instruments", 4, "selected", zapCurrentInstrument, "unused", zapUnusedInstruments,
" all ", zapInstruments, "cancel",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have an additional message box if you choose "all", just to confirm that's really what you want to do, in case someone mis-touches?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, although I was also considering moving the individual instrument deletion to a "-" button under the instruments list to make it more obvious, up to you though

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'd need to move the patterns and song zappers somewhere too, then, I think. But I am not attached to "zap!".

Copy link
Author

@prayerie prayerie Nov 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, fair enough. i suppose i am not either although it would be nice to leave it in there as i presume it is a reference to the "zap!" of FT2 which would be a shame to remove (*imo). For now I'll just add the confirmation step as you said (should the same confirmation also apply to zapping patterns/song too?)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see why not.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(btw, by the initial comment I meant keep the current zap menu, then separately have a tiny "-" under the instruments list - ie zapping or clearing all insts/song/etc would be different ux wise to just managing individual instrument deletion

@asiekierka asiekierka merged commit 059690a into NitrousTracker:new Nov 29, 2025
1 check failed
@asiekierka
Copy link
Collaborator

Thank you!

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.

Gaps in the instrument list cause variable delay when pressing play

2 participants