This commit is contained in:
yumoqing 2024-10-28 15:42:25 +08:00
parent 296a4ae341
commit 56c45a6cd2

View File

@ -28,8 +28,8 @@ bricks.Popup = class extends bricks.VBox {
top = rect.top + parseInt(lt.y) / 100 * rect.height; top = rect.top + parseInt(lt.y) / 100 * rect.height;
left = rect.left + parseInt(lt.x) / 100 * rect.width; left = rect.left + parseInt(lt.x) / 100 * rect.width;
return { return {
top:top + 'px'; top:top + 'px',
left:left + 'px'; left:left + 'px'
} }
} }
convert_width(){ convert_width(){