Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter scogee

    (@scogee)

    It’s a calculation issue:

    Here’s the hack to fix this. I’m sure there’s a more elegant solution:

    In plugin/mstw-schedules-scoreboards/js/ss-slider.js

    line: 35 and 65 reads

    Old:
    var slide_distance = (nbr_blocks-1)*block_width;

    New:

    var nbr_blocks_spacer = nbr_blocks;
    if (nbr_blocks_spacer == 1) {
    nbr_blocks_spacer = 2;
    }
    var slide_distance = (nbr_blocks_spacer-1)*block_width;

Viewing 1 replies (of 1 total)