ContentTools icon indicating copy to clipboard operation
ContentTools copied to clipboard

Touch drag-and-drop support for toolbox

Open cubiclesoft opened this issue 8 years ago • 2 comments

A small set of changes that adds drag-and-drop support for touch devices on the floating toolbox.

Demo:

https://cubiclesoft.com/Unrelated/ContentToolsDragTest/sandbox/

cubiclesoft avatar Sep 02 '17 15:09 cubiclesoft

This PR may resolve closed issue #382.

cubiclesoft avatar Sep 02 '17 16:09 cubiclesoft

As far as I know, CoffeeScript doesn't and won't ever support the ternary operator. It's got if-then-else and unless. Attempting to use the ternary operator in CoffeeScript results in a transpiler error. Sometimes you can write Javascript or something close enough to it and sometimes you can't.

https://stackoverflow.com/questions/10146080/ternary-operation-in-coffeescript

Also, I attempted to stick with the coding style of the surrounding code in this repository.

cubiclesoft avatar May 01 '18 13:05 cubiclesoft