feat: repair grid border in selection (#206)

This commit is contained in:
MingLIang Wang
2022-08-12 13:29:52 +08:00
committed by GitHub
parent ccf59da754
commit dbd16f33a9
2 changed files with 1 additions and 4 deletions

View File

@@ -261,7 +261,7 @@ const GridContainer = styled('div')<{
display: 'flex',
alignItems: 'stretch',
borderRadius: '10px',
border: '1px solid #FFF',
border: '1px solid transparent',
minWidth: `${gridItemMinWidth}%`,
[`&:hover .${GRID_ITEM_CONTENT_CLASS_NAME}`]: {
borderColor: theme.affine.palette.borderColor,

View File

@@ -77,9 +77,6 @@ export class SelectionManager implements VirgoSelection {
type: 'None',
info: null,
};
// IMP: to delete
// @ts-ignore
window['selectionManager'] = this;
this._initWindowSelectionChangeListen();
}