forked from HEL/chronos
		
	added length support for width parmeter
This commit is contained in:
		| @@ -51,7 +51,10 @@ | ||||
|   let w = m.width | ||||
|   let h = m.height | ||||
|   let r = if w == 0pt {0} else { | ||||
|     if width == auto {1} else { | ||||
|     if width == auto {1} | ||||
|     else if type(width) == length { | ||||
|       width / w | ||||
|     } else { | ||||
|       size.width * width / w | ||||
|     } | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user