You've already forked AstralRinth
forked from didirus/AstralRinth
feat(theseus): add snapPoints for memory sliders (#1275)
* feat: add snapPoints for memory sliders * fix lint * Reapply changes * Hide snap point display when disabled * fix unused imports --------- Co-authored-by: Prospector <prospectordev@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
v-for="snapPoint in snapPoints"
|
||||
:key="snapPoint"
|
||||
class="snap-point"
|
||||
:class="{ green: snapPoint <= currentValue }"
|
||||
:class="{ green: snapPoint <= currentValue, 'opacity-0': disabled }"
|
||||
:style="{ left: ((snapPoint - min) / (max - min)) * 100 + '%' }"
|
||||
></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user