mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-07 16:12:31 +00:00
GUI: possibly improved sample zooming
sorry I dropped the compact mode because I am making the toolbar dynamic soon...
This commit is contained in:
parent
ca204e6d69
commit
e21040169f
4 changed files with 582 additions and 1126 deletions
|
@ -5836,6 +5836,7 @@ FurnaceGUI::FurnaceGUI():
|
|||
oldOrdersLen(0),
|
||||
sampleZoom(1.0),
|
||||
prevSampleZoom(1.0),
|
||||
minSampleZoom(1.0),
|
||||
samplePos(0),
|
||||
resizeSize(1024),
|
||||
silenceSize(1024),
|
||||
|
|
|
@ -1583,6 +1583,7 @@ class FurnaceGUI {
|
|||
// sample editor specific
|
||||
double sampleZoom;
|
||||
double prevSampleZoom;
|
||||
double minSampleZoom;
|
||||
int samplePos;
|
||||
int resizeSize, silenceSize;
|
||||
double resampleTarget;
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1540,11 +1540,6 @@ void FurnaceGUI::drawSettings() {
|
|||
settings.waveLayout=waveLayoutB;
|
||||
}
|
||||
|
||||
bool sampleLayoutB=settings.sampleLayout;
|
||||
if (ImGui::Checkbox("Use compact sample editor",&sampleLayoutB)) {
|
||||
settings.sampleLayout=sampleLayoutB;
|
||||
}
|
||||
|
||||
bool oldMacroVSliderB=settings.oldMacroVSlider;
|
||||
if (ImGui::Checkbox("Use classic macro editor vertical slider",&oldMacroVSliderB)) {
|
||||
settings.oldMacroVSlider=oldMacroVSliderB;
|
||||
|
|
Loading…
Reference in a new issue