Drag GUI circles change with display scale
This commit is contained in:
parent
45fa4b2774
commit
c287d2793c
6 changed files with 22 additions and 19 deletions
|
|
@ -19,8 +19,6 @@
|
|||
|
||||
class World;
|
||||
|
||||
#define DRAG_POINT_RADIUS 10.0f
|
||||
|
||||
class DrawingProgram {
|
||||
public:
|
||||
DrawingProgram(World& initWorld);
|
||||
|
|
@ -86,6 +84,7 @@ class DrawingProgram {
|
|||
|
||||
void drag_drop_update();
|
||||
|
||||
float drag_point_radius();
|
||||
void draw_drag_circle(SkCanvas* canvas, const Vector2f& pos, const SkColor4f& c, const DrawData& drawData, float radiusMultiplier = 1.0f);
|
||||
|
||||
void add_undo_place_component(const CollabListType::ObjectInfoPtr& objToUndo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue