fix(settings): synchronize button animation with arrows of number input
This commit is contained in:
@@ -77,6 +77,16 @@ watch(
|
||||
),
|
||||
);
|
||||
|
||||
const forceAnimateBLabel = () => {
|
||||
animateLabelChange(
|
||||
(v) => (bButtonOffsetY = v),
|
||||
(l) => (displayedBLabel = l),
|
||||
props.bLabel,
|
||||
);
|
||||
};
|
||||
|
||||
defineExpose({ forceAnimateBLabel });
|
||||
|
||||
onRender((ctx) => {
|
||||
ctx.globalAlpha = props.opacity ?? 1;
|
||||
ctx.font = "10px NDS10";
|
||||
|
||||
Reference in New Issue
Block a user