mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
ide: Layout designer duplicate does not change horz anymore (#584)
git-svn-id: svn://ultimatepp.org/upp/trunk@6745 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
b9b4bc7abe
commit
0918431d20
1 changed files with 1 additions and 1 deletions
|
|
@ -1027,7 +1027,7 @@ void LayDes::Duplicate()
|
|||
cursor.Clear();
|
||||
for(int i = 0; i < d.item.GetCount(); i++) {
|
||||
LayoutItem& m = d.item[i];
|
||||
d.item[i].pos = MakeLogPos(m.pos, CtrlRect(m.pos, l.size).Offseted(20, 20), l.size);
|
||||
d.item[i].pos = MakeLogPos(m.pos, CtrlRect(m.pos, l.size).Offseted(0, 24), l.size);
|
||||
cursor.Add(q + i);
|
||||
}
|
||||
CurrentLayout().item.InsertPick(q, d.item);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue