• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 74: Line 74:     
local function scaleLayer(hd, layer)
 
local function scaleLayer(hd, layer)
     local top, left, width, height = layer.top, layer.left, layer.width, layer.height or layer.width
+
     local top, left, right, width, height = layer.top, layer.left, layer.right, layer.width, layer.height or layer.width
 
     layer.style = layer.style or {}
 
     layer.style = layer.style or {}
 
     if top then
 
     if top then
Line 81: Line 81:  
     if left then
 
     if left then
 
         layer.style.left = left * (hd and 1.5 or 1) .. 'px'
 
         layer.style.left = left * (hd and 1.5 or 1) .. 'px'
 +
    end
 +
    if right then
 +
        layer.style.right = right * (hd and 1.5 or 1) .. 'px'
 
     end
 
     end
 
     if width then
 
     if width then
cssedit, gkautomate
6,941

edits

Navigation menu