[Refactor/TMP2] Refactor slider logic and appearance settings

- Improve slider logic by adding useMemo for marks calculation and fixing floating point precision issues
- Add loop safety check to prevent infinite loops in createMarks function
- Remove show_label_values prop from TransparencyContainer
- Add proper decimal place handling for slider values
This commit is contained in:
Sakamoto Shiina
2025-11-07 06:41:33 +09:00
parent 2cd4ddc4a3
commit 9b69ffe8ff
2 changed files with 19 additions and 5 deletions

View File

@@ -157,7 +157,6 @@ const TransparencyContainer = () => {
min={40}
max={100}
step={10}
show_label_values={[40, 60, 80, 100, 120, 140, 160, 180, 200]}
/>
);
};