diff --git a/lib/resizer.js b/lib/resizer.js index a051e406e92de35277d9aa335302a9216943f5b4..6214d334cf4840748e0ea192ace51129b414acc8 100644 --- a/lib/resizer.js +++ b/lib/resizer.js @@ -25,32 +25,32 @@ var __assign = (this && this.__assign) || function () { import * as React from 'react'; var rowSizeBase = { width: '100%', - height: '10px', + height: '20px', top: '0px', left: '0px', cursor: 'row-resize', }; var colSizeBase = { - width: '10px', + width: '20px', height: '100%', top: '0px', left: '0px', cursor: 'col-resize', }; var edgeBase = { - width: '20px', - height: '20px', + width: '40px', + height: '40px', position: 'absolute', }; var styles = { - top: __assign(__assign({}, rowSizeBase), { top: '-5px' }), - right: __assign(__assign({}, colSizeBase), { left: undefined, right: '-5px' }), - bottom: __assign(__assign({}, rowSizeBase), { top: undefined, bottom: '-5px' }), - left: __assign(__assign({}, colSizeBase), { left: '-5px' }), - topRight: __assign(__assign({}, edgeBase), { right: '-10px', top: '-10px', cursor: 'ne-resize' }), - bottomRight: __assign(__assign({}, edgeBase), { right: '-10px', bottom: '-10px', cursor: 'se-resize' }), - bottomLeft: __assign(__assign({}, edgeBase), { left: '-10px', bottom: '-10px', cursor: 'sw-resize' }), - topLeft: __assign(__assign({}, edgeBase), { left: '-10px', top: '-10px', cursor: 'nw-resize' }), + top: __assign(__assign({}, rowSizeBase), { top: '-10px' }), + right: __assign(__assign({}, colSizeBase), { left: undefined, right: '-10px' }), + bottom: __assign(__assign({}, rowSizeBase), { top: undefined, bottom: '-10px' }), + left: __assign(__assign({}, colSizeBase), { left: '-10px' }), + topRight: __assign(__assign({}, edgeBase), { right: '-20px', top: '-20px', cursor: 'ne-resize' }), + bottomRight: __assign(__assign({}, edgeBase), { right: '-20px', bottom: '-20px', cursor: 'se-resize' }), + bottomLeft: __assign(__assign({}, edgeBase), { left: '-20px', bottom: '-20px', cursor: 'sw-resize' }), + topLeft: __assign(__assign({}, edgeBase), { left: '-20px', top: '-20px', cursor: 'nw-resize' }), }; var Resizer = /** @class */ (function (_super) { __extends(Resizer, _super);