Changeset View
Changeset View
Standalone View
Standalone View
plugins/tools/basictools/kis_tool_move.cc
Show First 20 Lines • Show All 274 Lines • ▼ Show 20 Line(s) | |||||
275 | 275 | | |||
276 | void KisToolMove::requestStrokeCancellation() | 276 | void KisToolMove::requestStrokeCancellation() | ||
277 | { | 277 | { | ||
278 | cancelStroke(); | 278 | cancelStroke(); | ||
279 | } | 279 | } | ||
280 | 280 | | |||
281 | void KisToolMove::requestUndoDuringStroke() | 281 | void KisToolMove::requestUndoDuringStroke() | ||
282 | { | 282 | { | ||
283 | // we shouldn't cancel the stroke on Ctrl+Z, becasue it will not only | 283 | // we shouldn't cancel the stroke on Ctrl+Z, because it will not only | ||
284 | // cancel the stroke, but also undo the previous command, which we haven't | 284 | // cancel the stroke, but also undo the previous command, which we haven't | ||
285 | // yet pushed to the stack | 285 | // yet pushed to the stack | ||
286 | } | 286 | } | ||
287 | 287 | | |||
288 | void KisToolMove::beginPrimaryAction(KoPointerEvent *event) | 288 | void KisToolMove::beginPrimaryAction(KoPointerEvent *event) | ||
289 | { | 289 | { | ||
290 | startAction(event, moveToolMode()); | 290 | startAction(event, moveToolMode()); | ||
291 | } | 291 | } | ||
▲ Show 20 Lines • Show All 280 Lines • Show Last 20 Lines |