|
@@ -96,6 +96,9 @@ export const PractiseDriver = defineComponent({
|
|
|
length -= 1;
|
|
|
}
|
|
|
}
|
|
|
+ if (!props.statusAll.showSwitchList) {
|
|
|
+ length -= 1;
|
|
|
+ }
|
|
|
console.log(props.statusAll, "statusAll", length, state.setting.displayFingering);
|
|
|
|
|
|
let options: Config = {
|
|
@@ -266,8 +269,6 @@ export const PractiseDriver = defineComponent({
|
|
|
showButtons: ["next", "previous"],
|
|
|
onPopoverRender: (popover: PopoverDOM, options: { config: Config; state: State }) => {
|
|
|
driverInitialPosition(popover, options);
|
|
|
- const rect = options.state.activeElement?.getBoundingClientRect();
|
|
|
- popover.wrapper.style.marginLeft = (rect?.width || 0) / 2 + 4 + "px";
|
|
|
},
|
|
|
onPrevClick: () => {
|
|
|
driverObj.drive(0);
|