From 52f86e00dc15734b79ffa95b728c6bfb71a25774 Mon Sep 17 00:00:00 2001 From: ducdat0507 <62660527+ducdat0507@users.noreply.github.com> Date: Tue, 13 Dec 2022 16:29:55 +0700 Subject: [PATCH] Fix box gain modifier view --- src/data/layers/boxes.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/layers/boxes.tsx b/src/data/layers/boxes.tsx index d896205..e5cff9a 100644 --- a/src/data/layers/boxes.tsx +++ b/src/data/layers/boxes.tsx @@ -339,7 +339,7 @@ const layer = createLayer(id, function (this: BaseLayer) { { title: "Boxes Gain", modifier: boxGain, - base: 1 + base: () => boxesConversion.scaling.currentGain(boxesConversion) } ]); const showModifiersModal = ref(false);