]> git.sesse.net Git - ultimatescore/commitdiff
Make the side-by-side equal inputs.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 18 Mar 2018 10:06:24 +0000 (11:06 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 18 Mar 2018 10:06:24 +0000 (11:06 +0100)
carousel.js
nageru/ultimate.lua

index 3147c54e8b4ac63b7e341f36f6813ff6fee9e7ed..35b02883c7d91809e89e5ec891e10733c9595c83 100644 (file)
@@ -469,7 +469,7 @@ function clear_carousel(table)
 };
 
 // Stream schedule
-let max_list_len = 8;
+let max_list_len = 7;
 
 function display_stream_schedule(response, group_name) {
        let teams = parse_teams_from_spreadsheet(response);
index bafd8189b96818f9e33c29e0fd4919bf5928f9fa..ad29d6d3eb3919f34a3b97d0c58b838e3929117e 100644 (file)
@@ -874,10 +874,9 @@ function prepare_sbs_chain(chain, t, transition_type, src_signal, dst_signal, sc
        set_neutral_color(chain.input0.wb_effect, neutral_colors[1])
        set_neutral_color(chain.input1.wb_effect, neutral_colors[5])
 
-       -- First input is positioned (16,48) from top-left.
-       -- Second input is positioned (16,48) from the bottom-right.
-       local pos0 = pos_from_top_left(16, 48, 848, 477, screen_width, screen_height)
-       local pos1 = pos_from_top_left(1280 - 384 - 16, 720 - 216 - 48, 384, 216, screen_width, screen_height)
+       -- Both inputs are the same size (true side-by-side).
+       local pos0 = pos_from_top_left(1280 - 616 - 16, 186, 616, 347, screen_width, screen_height)
+       local pos1 = pos_from_top_left(16, 186, 616, 347, screen_width, screen_height)
 
        local pos_fs = { x0 = 0, y0 = 0, x1 = screen_width, y1 = screen_height }
        local affine_param