mirror of
https://github.com/koloideal/Casha.git
synced 2026-06-10 18:35:28 +03:00
update
This commit is contained in:
@@ -1191,6 +1191,8 @@ class _FullScreenBlurOverlayState extends State<_FullScreenBlurOverlay> {
|
|||||||
dash._tempSecondary = hsv.toColor();
|
dash._tempSecondary = hsv.toColor();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
// Force OverlayEntry to rebuild so the card inside it gets new preview colors
|
||||||
|
dash._overlayEntry?.markNeedsBuild();
|
||||||
}
|
}
|
||||||
|
|
||||||
final currentHSV = dash._editingPrimary
|
final currentHSV = dash._editingPrimary
|
||||||
@@ -1211,6 +1213,7 @@ class _FullScreenBlurOverlayState extends State<_FullScreenBlurOverlay> {
|
|||||||
onTap: () {
|
onTap: () {
|
||||||
dash.setState(() => dash._editingPrimary = true);
|
dash.setState(() => dash._editingPrimary = true);
|
||||||
setPanelState(() {});
|
setPanelState(() {});
|
||||||
|
dash._overlayEntry?.markNeedsBuild();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
const SizedBox(width: 10),
|
const SizedBox(width: 10),
|
||||||
@@ -1221,6 +1224,7 @@ class _FullScreenBlurOverlayState extends State<_FullScreenBlurOverlay> {
|
|||||||
onTap: () {
|
onTap: () {
|
||||||
dash.setState(() => dash._editingPrimary = false);
|
dash.setState(() => dash._editingPrimary = false);
|
||||||
setPanelState(() {});
|
setPanelState(() {});
|
||||||
|
dash._overlayEntry?.markNeedsBuild();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
@@ -1278,6 +1282,7 @@ class _FullScreenBlurOverlayState extends State<_FullScreenBlurOverlay> {
|
|||||||
onTap: () {
|
onTap: () {
|
||||||
dash.setState(() => dash._editingPrimary = true);
|
dash.setState(() => dash._editingPrimary = true);
|
||||||
setPanelState(() {});
|
setPanelState(() {});
|
||||||
|
dash._overlayEntry?.markNeedsBuild();
|
||||||
},
|
},
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
@@ -1319,6 +1324,7 @@ class _FullScreenBlurOverlayState extends State<_FullScreenBlurOverlay> {
|
|||||||
onTap: () {
|
onTap: () {
|
||||||
dash.setState(() => dash._editingPrimary = false);
|
dash.setState(() => dash._editingPrimary = false);
|
||||||
setPanelState(() {});
|
setPanelState(() {});
|
||||||
|
dash._overlayEntry?.markNeedsBuild();
|
||||||
},
|
},
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
|||||||
Reference in New Issue
Block a user