mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 18:57:25 +01:00
work editor: Clean part levels after level change
This commit is contained in:
parent
c1c1ce88b8
commit
b15591b388
1 changed files with 1 additions and 0 deletions
|
|
@ -285,6 +285,7 @@ class _WorkEditorState extends State<WorkEditor> {
|
|||
final newLevel = part.level + levels;
|
||||
setState(() {
|
||||
part.level = newLevel > 0 ? newLevel : 0;
|
||||
cleanLevels();
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue