mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 05:35:25 +03:00
prevent collisions
This commit is contained in:
parent
706c360f96
commit
ec0bf391bf
@ -363,7 +363,7 @@ export default function DraggableGridLayout({
|
|||||||
cols={{ lg: 12, md: 12, sm: 12, xs: 12, xxs: 12 }}
|
cols={{ lg: 12, md: 12, sm: 12, xs: 12, xxs: 12 }}
|
||||||
margin={[marginValue, marginValue]}
|
margin={[marginValue, marginValue]}
|
||||||
containerPadding={[0, isEditMode ? 6 : 3]}
|
containerPadding={[0, isEditMode ? 6 : 3]}
|
||||||
compactType={null}
|
preventCollision={true}
|
||||||
resizeHandles={isEditMode ? ["sw", "nw", "se", "ne"] : []}
|
resizeHandles={isEditMode ? ["sw", "nw", "se", "ne"] : []}
|
||||||
onDragStop={handleLayoutChange}
|
onDragStop={handleLayoutChange}
|
||||||
onResize={handleResize}
|
onResize={handleResize}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user