make `resizePadding` a static var
rename `resize()` to `isResizeEnabled()`
ternary for clarity
an attempt at clearer implementation at checking for drag resize
make `origin` and `location` protected
build files