• Mark Florian's avatar
    Simplify calcPercentage function · b0921e5d
    Mark Florian authored
    The `size` and the two inner `100` multiplications cancel out. In other
    words, the result is independent of the original image's size, because
    both `pos` and `renderedSize` are based on the rendered size of the
    image, not its actual size.
    b0921e5d
image_diff_overlay.vue 3.63 KB