Skip to content

Commit

Permalink
bug(RotationSlider): Fix anchor position
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruptein authored Jan 19, 2024
1 parent 6fcf7c2 commit 76e6421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ tech changes will usually be stripped from release notes for the public
- Character: a collection of bugs with variants have been fixed
- Trackers: add max-height and scrolling
- RotationSlider: fix sync issues
- RotationSlider: fix slider anchor not sticking to the rail under certain angles
- [server] log spam of "unknown" shape when temporary shapes are moved

## [2023.3.0] - 2023-09-17
Expand Down
2 changes: 1 addition & 1 deletion client/src/core/components/RotationSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const emit = defineEmits<(e: "change" | "input", angle: number) => void>();
const circle = ref<HTMLDivElement | null>(null);
let active = false;
const radius = 10;
const radius = 8; // circle is 20px - 2px border diameter -> 8px radius
const radianAngle = ref(0);
const degreeAngle = computed({
Expand Down

0 comments on commit 76e6421

Please sign in to comment.