]> git.sesse.net Git - ultimatescore/blobdiff - nageru/ultimate.lua
Make the side-by-side equal inputs.
[ultimatescore] / nageru / ultimate.lua
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