Merge branch 'main' of github.com:Bubobubobubobubo/Topos

This commit is contained in:
2023-12-20 11:52:31 +01:00
2 changed files with 21 additions and 2 deletions

View File

@ -1488,7 +1488,7 @@ export class UserAPI {
};
public flipbar = (chunk: number = 1): boolean => {
let realFlip = chunk * 2;
let realFlip = chunk;
const time_pos = this.app.clock.time_position.bar;
const current_chunk = Math.floor(time_pos / realFlip);
return current_chunk % 2 === 0;