mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-02 10:55:05 +00:00
GUI: make clang happy
This commit is contained in:
parent
cec5def347
commit
bd84dc1c17
1 changed files with 1 additions and 1 deletions
|
@ -1745,7 +1745,7 @@ bool FurnaceGUI::loop() {
|
|||
}
|
||||
}
|
||||
if (macroDragActive || macroLoopDragActive || waveDragActive || sampleDragActive) {
|
||||
int distance=fabs(motionXrel);
|
||||
int distance=fabs((double)motionXrel);
|
||||
if (distance<1) distance=1;
|
||||
float start=motionX-motionXrel;
|
||||
float end=motionX;
|
||||
|
|
Loading…
Reference in a new issue