/programs/cmm/iconedit/tools/pipette.h |
---|
8,7 → 8,7 |
} |
void PipetteTool_onMouseEvent(int mouseX, int mouseY, int lkm, int pkm) { |
if (!canvas.hovered()) return; //TODO: option "Restrict pipette to canvas area" |
//if (!canvas.hovered()) return; //TODO: option "Restrict pipette to canvas area" |
tool_color = GetPixelUnderMouse(); |
DrawBar(Form.cwidth-30, 5, 20, 20, tool_color); |