mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2025-03-01 07:50:25 +01:00
Fix beat ticks
This commit is contained in:
parent
e56b46ff76
commit
79d401727e
@ -440,7 +440,7 @@ int main() {
|
|||||||
if (beatTick.shouldPlay) {
|
if (beatTick.shouldPlay) {
|
||||||
const auto previous_beat = editor_state->previous_exact_beats();
|
const auto previous_beat = editor_state->previous_exact_beats();
|
||||||
const auto current_beat = editor_state->current_exact_beats();
|
const auto current_beat = editor_state->current_exact_beats();
|
||||||
if (previous_beat % 1 != current_beat % 1) {
|
if (floor_fraction(previous_beat) != floor_fraction(current_beat)) {
|
||||||
beatTick.play();
|
beatTick.play();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user