GUI: fix FM preview not updating on ins select
if draggable asset view is on issue #2506
This commit is contained in:
parent
e90b05ae36
commit
67a176aa9a
|
@ -154,7 +154,7 @@ void FurnaceGUI::insListItem(int i, int dir, int asset) {
|
||||||
bool insPressed=ImGui::IsItemActivated();
|
bool insPressed=ImGui::IsItemActivated();
|
||||||
if (insReleased || (!insListDir && insPressed && !settings.draggableDataView)) {
|
if (insReleased || (!insListDir && insPressed && !settings.draggableDataView)) {
|
||||||
curIns=i;
|
curIns=i;
|
||||||
if (!insReleased || insListDir) {
|
if (!insReleased || insListDir || settings.draggableDataView) {
|
||||||
wavePreviewInit=true;
|
wavePreviewInit=true;
|
||||||
updateFMPreview=true;
|
updateFMPreview=true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue