fixed weight slider bounds
This commit is contained in:
@@ -132,7 +132,7 @@ const flippedSign = computed(()=>props.flip?-1:1)
|
|||||||
const balance100 = computed( {
|
const balance100 = computed( {
|
||||||
get() {return flippedSign.value*props.builder.balance*100},
|
get() {return flippedSign.value*props.builder.balance*100},
|
||||||
set(v) {
|
set(v) {
|
||||||
if (v<-60) v = -60;
|
// if (v<-60) v = -60;
|
||||||
props.builder.balance = flippedSign.value*v/100; }
|
props.builder.balance = flippedSign.value*v/100; }
|
||||||
} )
|
} )
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user