Closed mengqiuleo closed 4 days ago
The changes in this pull request modify the initState
function in the packages/renderless/src/time-panel/vue.ts
file. The update specifically affects the setter for the value
computed property, ensuring that both state.realValue
and state.lastEmitValue
are assigned the same valid value when applicable. This change enhances state management by keeping track of the last emitted value alongside the current value.
File Path | Change Summary |
---|---|
packages/renderless/src/time-panel/vue.ts | Modified initState function to update state.lastEmitValue alongside state.realValue when the value is valid. |
bug
🐰 In the meadow, where time does flow,
A change was made, a gentle glow.
Both values now, in sync they stay,
Last emitted, come what may.
A hop, a skip, the panel's bright,
Time's dance is now a pure delight! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #2170
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit