Use brush ruler to draw lines
This commit is contained in:
@@ -60,9 +60,10 @@ class BrushOutputNode extends LogicNode {
|
||||
!arm.App.isResizing &&
|
||||
@:privateAccess UITrait.inst.ui.comboSelectedHandle == null &&
|
||||
@:privateAccess UIView2D.inst.ui.comboSelectedHandle == null) { // Header combos are in use
|
||||
|
||||
// Set color pick
|
||||
var down = iron.system.Input.getMouse().down() || iron.system.Input.getPen().down();
|
||||
if (Context.tool == ToolColorId && Project.assets.length > 0 && down) {
|
||||
if (down && Context.tool == ToolColorId && Project.assets.length > 0) {
|
||||
UITrait.inst.colorIdPicked = true;
|
||||
}
|
||||
// Prevent painting the same spot
|
||||
|
||||
Reference in New Issue
Block a user