优化互斥关系

This commit is contained in:
Harvey committed 2020-09-15 16:14:27 +08:00
1 parent abf60cfef6
commit 5cbb8bd1f3
16 files changed
+242 -29

No files matched your search

+8
View File
@@ -1,5 +1,6 @@
import Component from '../utils/component';
import flip from './flip';
import rotate from './rotate';
import aspectRatio from './aspectRatio';
import playbackRate from './playbackRate';
@@ -32,6 +33,13 @@ export default class Setting extends Component {
}),
);
this.add(
rotate({
disable: !option.rotate,
name: 'rotate',
}),
);
this.add(
aspectRatio({
disable: !option.aspectRatio,