Skip to content

Commit

Permalink
Fix re-computation problem #44 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
HSwift authored Feb 24, 2024
1 parent eeb45d5 commit f5411d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,3 +192,4 @@ See `package.json` for details.

- [lebr0nli](https://github.com/lebr0nli)
- [boylin0](https://github.com/boylin0)
- [HSwift](https://github.com/HSwift)
2 changes: 1 addition & 1 deletion src/components/RequestPanelBasic.vue
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default defineComponent({
const switchCenter =
postEnabledSwitchTop.value + postEnabledSwitchHeight.value / 2
return selectCenter != switchCenter
return Math.abs(selectCenter - switchCenter) > 0.0001
})
/* Events */
Expand Down

0 comments on commit f5411d5

Please sign in to comment.