mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-05 14:47:40 +03:00
Merge pull request #102 from ibs0d/claude/add-fit-to-screen-mode-XvHoV
Fix fit-to-screen drag: use noCompactor for free horizontal movement
This commit is contained in:
commit
6e0b30ec9c
@ -16,6 +16,7 @@ import {
|
||||
Layout,
|
||||
LayoutItem,
|
||||
ResponsiveGridLayout as Responsive,
|
||||
noCompactor,
|
||||
} from "react-grid-layout";
|
||||
import "react-grid-layout/css/styles.css";
|
||||
import "react-resizable/css/styles.css";
|
||||
@ -920,6 +921,7 @@ export default function DraggableGridLayout({
|
||||
{containerWidth > 0 && <Responsive
|
||||
className="grid-layout"
|
||||
width={availableWidth}
|
||||
compactor={fitToScreen ? noCompactor : undefined}
|
||||
layouts={{
|
||||
lg: activeGridLayout,
|
||||
md: activeGridLayout,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user