[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:
@@ -157,7 +157,6 @@ const TransparencyContainer = () => {
|
||||
min={40}
|
||||
max={100}
|
||||
step={10}
|
||||
show_label_values={[40, 60, 80, 100, 120, 140, 160, 180, 200]}
|
||||
/>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user