mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-01-10 14:42:13 -05:00
commit
76075bcde1
1 changed files with 0 additions and 4 deletions
|
@ -10,7 +10,6 @@ import log from '../log/log';
|
|||
import {trim} from '../helper/bitmap';
|
||||
import {performSnapshot} from '../helper/undo';
|
||||
import {undoSnapshot, clearUndoState} from '../reducers/undo';
|
||||
import {isGroup, ungroupItems} from '../helper/group';
|
||||
import {clearRaster, getRaster, setupLayers, hideGuideLayers, showGuideLayers} from '../helper/layer';
|
||||
import {deleteSelection, getSelectedLeafItems} from '../helper/selection';
|
||||
import {clearSelectedItems, setSelectedItems} from '../reducers/selected-items';
|
||||
|
@ -233,9 +232,6 @@ class PaperCanvas extends React.Component {
|
|||
item.translate(paper.project.view.center
|
||||
.subtract(itemWidth / 2, itemHeight / 2));
|
||||
}
|
||||
if (isGroup(item)) {
|
||||
ungroupItems([item]);
|
||||
}
|
||||
|
||||
performSnapshot(paperCanvas.props.undoSnapshot, paperCanvas.props.format);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue