#31 Dragged objects should use the middle of the object as drawing anchor instead of the upper left corner

已关闭
carlos.garcia8 年之前创建 · 0 条评论

When an object is dragged from the left panel, the floating image of the object is drawn taking the upper left corner of the image as the anchor. However, objects rendered on the canvas use the middle point of the image as the anchor point for drawing them. This causes that when a user drops an object into the canvas, the object is not dropped into the expected position. Instead, when dropped, an object moves slightly upwards and to the left.

Please leave a comment if this issue is not clear (it was tricky to describe).

When an object is dragged from the left panel, the floating image of the object is drawn taking the upper left corner of the image as the anchor. However, objects rendered on the canvas use the middle point of the image as the anchor point for drawing them. This causes that when a user drops an object into the canvas, the object is not dropped into the expected position. Instead, when dropped, an object moves slightly upwards and to the left. Please leave a comment if this issue is not clear (it was tricky to describe).
Kevin Trometer 在代码提交 8 年之前 中引用了该工单
登录 并参与到对话中。
未选择里程碑
未指派成员
1 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。