GUI: fix ES5506 Amiga pitch warning

This commit is contained in:
tildearrow 2024-06-24 16:34:46 -05:00
parent 21430308aa
commit e168d2b6c2

View file

@ -1296,9 +1296,11 @@ bool FurnaceGUI::drawSysConf(int chan, int sysPos, DivSystem type, DivConfig& fl
if (ImGui::Checkbox(_("Amiga-like pitch (non-linear pitch only)"),&amigaPitch)) {
altered=true;
}
if (amigaPitch && e->song.linearPitch==2) {
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("pitch linearity is set to linear. this won't do anything!");
}
}
popWarningColor();
if (altered) {