Searched refs:shiftOrDrag (Results 1 – 2 of 2) sorted by relevance
165 bool shiftOrDrag = skstd::Any(modifiers & ModifierKey::kShift) || !mouseDown; in onMouse() local167 return this->move(fEditor.getPosition({x - fMargin, y + fPos - fMargin}), shiftOrDrag); in onMouse()
184 bool shiftOrDrag = sknonstd::Any(modifiers & skui::ModifierKey::kShift) || !mouseDown; in onMouse() local186 return this->move(fEditor.getPosition({x - fMargin, y + fPos - fMargin}), shiftOrDrag); in onMouse()