scissor command
This commit is contained in:
parent
6d8300f9d9
commit
bca29c537c
6 changed files with 83 additions and 63 deletions
|
|
@ -86,7 +86,7 @@ fn Rect Ctx.position_element(&ctx, Elem *parent, Rect rect, bool style = false)
|
|||
{
|
||||
Rect placement;
|
||||
Point origin;
|
||||
Div* div = &parent.div;
|
||||
ElemDiv* div = &parent.div;
|
||||
|
||||
// 1. Select the right origin
|
||||
switch (div.layout) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue