From 645217a732f31a8356528884d0fa36eba2a2c6b6 Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Sun, 22 Aug 2021 16:04:00 +0200 Subject: [PATCH] fix chords under nodejs --- .../musicsheets/ui/Buttons/editor-button-A-dropdown.tid | 7 ++++--- .../musicsheets/ui/Buttons/editor-button-B-dropdown.tid | 7 ++++--- .../musicsheets/ui/Buttons/editor-button-C-dropdown.tid | 7 ++++--- .../musicsheets/ui/Buttons/editor-button-D-dropdown.tid | 7 ++++--- .../musicsheets/ui/Buttons/editor-button-E-dropdown.tid | 7 ++++--- .../musicsheets/ui/Buttons/editor-button-F-dropdown.tid | 7 ++++--- .../musicsheets/ui/Buttons/editor-button-G-dropdown.tid | 7 ++++--- 7 files changed, 28 insertions(+), 21 deletions(-) diff --git a/plugins/musicsheets/ui/Buttons/editor-button-A-dropdown.tid b/plugins/musicsheets/ui/Buttons/editor-button-A-dropdown.tid index 59acf56..64d459e 100644 --- a/plugins/musicsheets/ui/Buttons/editor-button-A-dropdown.tid +++ b/plugins/musicsheets/ui/Buttons/editor-button-A-dropdown.tid @@ -2,9 +2,7 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/A \define get-note-a() \whitespace trim -<$list filter="[{!!category}!match[Chords]]" emptyMessage=""" - <$text text={{$(note-a)$}}/> -"""> +<$list filter="[{!!category}!match[Chords]]"> <$list filter="[[$:/state/musicsheets/note-values/]addsuffixget[prefix-suffix]] ~[[prefix]]" variable="prefix-suffix"> <$list filter="[match[prefix]]" variable="ignore"> <$text text={{{ [[$:/state/musicsheets/note-values/]addsuffixget[text]] }}}/><$text text={{$(note-a)$}}/> @@ -14,6 +12,9 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/A +<$list filter="[{!!category}match[Chords]]"> + <$text text={{$(note-a)$}}/> + \end \define toolbar-button-note-a-inner() <$button tag="a"> diff --git a/plugins/musicsheets/ui/Buttons/editor-button-B-dropdown.tid b/plugins/musicsheets/ui/Buttons/editor-button-B-dropdown.tid index ffc2a2b..96b7a06 100644 --- a/plugins/musicsheets/ui/Buttons/editor-button-B-dropdown.tid +++ b/plugins/musicsheets/ui/Buttons/editor-button-B-dropdown.tid @@ -2,9 +2,7 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/B \define get-note-b() \whitespace trim -<$list filter="[{!!category}!match[Chords]]" emptyMessage=""" - <$text text={{$(note-b)$}}/> -"""> +<$list filter="[{!!category}!match[Chords]]"> <$list filter="[[$:/state/musicsheets/note-values/]addsuffixget[prefix-suffix]] ~[[prefix]]" variable="prefix-suffix"> <$list filter="[match[prefix]]" variable="ignore"> <$text text={{{ [[$:/state/musicsheets/note-values/]addsuffixget[text]] }}}/><$text text={{$(note-b)$}}/> @@ -14,6 +12,9 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/B +<$list filter="[{!!category}match[Chords]]"> + <$text text={{$(note-b)$}}/> + \end \define toolbar-button-note-b-inner() <$button tag="a"> diff --git a/plugins/musicsheets/ui/Buttons/editor-button-C-dropdown.tid b/plugins/musicsheets/ui/Buttons/editor-button-C-dropdown.tid index 5c86a6e..dab742c 100644 --- a/plugins/musicsheets/ui/Buttons/editor-button-C-dropdown.tid +++ b/plugins/musicsheets/ui/Buttons/editor-button-C-dropdown.tid @@ -2,9 +2,7 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/C \define get-note-c() \whitespace trim -<$list filter="[{!!category}!match[Chords]]" emptyMessage=""" - <$text text={{$(note-c)$}}/> -"""> +<$list filter="[{!!category}!match[Chords]]"> <$list filter="[[$:/state/musicsheets/note-values/]addsuffixget[prefix-suffix]] ~[[prefix]]" variable="prefix-suffix"> <$list filter="[match[prefix]]" variable="ignore"> <$text text={{{ [[$:/state/musicsheets/note-values/]addsuffixget[text]] }}}/><$text text={{$(note-c)$}}/> @@ -14,6 +12,9 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/C +<$list filter="[{!!category}match[Chords]]"> + <$text text={{$(note-c)$}}/> + \end \define toolbar-button-note-c-inner() <$button tag="a"> diff --git a/plugins/musicsheets/ui/Buttons/editor-button-D-dropdown.tid b/plugins/musicsheets/ui/Buttons/editor-button-D-dropdown.tid index 4884036..fcd7e17 100644 --- a/plugins/musicsheets/ui/Buttons/editor-button-D-dropdown.tid +++ b/plugins/musicsheets/ui/Buttons/editor-button-D-dropdown.tid @@ -2,9 +2,7 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/D \define get-note-d() \whitespace trim -<$list filter="[{!!category}!match[Chords]]" emptyMessage=""" - <$text text={{$(note-d)$}}/> -"""> +<$list filter="[{!!category}!match[Chords]]"> <$list filter="[[$:/state/musicsheets/note-values/]addsuffixget[prefix-suffix]] ~[[prefix]]" variable="prefix-suffix"> <$list filter="[match[prefix]]" variable="ignore"> <$text text={{{ [[$:/state/musicsheets/note-values/]addsuffixget[text]] }}}/><$text text={{$(note-d)$}}/> @@ -14,6 +12,9 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/D +<$list filter="[{!!category}match[Chords]]"> + <$text text={{$(note-d)$}}/> + \end \define toolbar-button-note-d-inner() <$button tag="a"> diff --git a/plugins/musicsheets/ui/Buttons/editor-button-E-dropdown.tid b/plugins/musicsheets/ui/Buttons/editor-button-E-dropdown.tid index e339044..5f3db11 100644 --- a/plugins/musicsheets/ui/Buttons/editor-button-E-dropdown.tid +++ b/plugins/musicsheets/ui/Buttons/editor-button-E-dropdown.tid @@ -2,9 +2,7 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/E \define get-note-e() \whitespace trim -<$list filter="[{!!category}!match[Chords]]" emptyMessage=""" - <$text text={{$(note-e)$}}/> -"""> +<$list filter="[{!!category}!match[Chords]]"> <$list filter="[[$:/state/musicsheets/note-values/]addsuffixget[prefix-suffix]] ~[[prefix]]" variable="prefix-suffix"> <$list filter="[match[prefix]]" variable="ignore"> <$text text={{{ [[$:/state/musicsheets/note-values/]addsuffixget[text]] }}}/><$text text={{$(note-e)$}}/> @@ -14,6 +12,9 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/E +<$list filter="[{!!category}match[Chords]]"> + <$text text={{$(note-e)$}}/> + \end \define toolbar-button-note-e-inner() <$button tag="a"> diff --git a/plugins/musicsheets/ui/Buttons/editor-button-F-dropdown.tid b/plugins/musicsheets/ui/Buttons/editor-button-F-dropdown.tid index 323435f..227d3e5 100644 --- a/plugins/musicsheets/ui/Buttons/editor-button-F-dropdown.tid +++ b/plugins/musicsheets/ui/Buttons/editor-button-F-dropdown.tid @@ -2,9 +2,7 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/F \define get-note-f() \whitespace trim -<$list filter="[{!!category}!match[Chords]]" emptyMessage=""" - <$text text={{$(note-f)$}}/> -"""> +<$list filter="[{!!category}!match[Chords]]"> <$list filter="[[$:/state/musicsheets/note-values/]addsuffixget[prefix-suffix]] ~[[prefix]]" variable="prefix-suffix"> <$list filter="[match[prefix]]" variable="ignore"> <$text text={{{ [[$:/state/musicsheets/note-values/]addsuffixget[text]] }}}/><$text text={{$(note-f)$}}/> @@ -14,6 +12,9 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/F +<$list filter="[{!!category}match[Chords]]"> + <$text text={{$(note-f)$}}/> + \end \define toolbar-button-note-f-inner() <$button tag="a"> diff --git a/plugins/musicsheets/ui/Buttons/editor-button-G-dropdown.tid b/plugins/musicsheets/ui/Buttons/editor-button-G-dropdown.tid index ac88e53..7ac705d 100644 --- a/plugins/musicsheets/ui/Buttons/editor-button-G-dropdown.tid +++ b/plugins/musicsheets/ui/Buttons/editor-button-G-dropdown.tid @@ -2,9 +2,7 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/G \define get-note-g() \whitespace trim -<$list filter="[{!!category}!match[Chords]]" emptyMessage=""" - <$text text={{$(note-g)$}}/> -"""> +<$list filter="[{!!category}!match[Chords]]"> <$list filter="[[$:/state/musicsheets/note-values/]addsuffixget[prefix-suffix]] ~[[prefix]]" variable="prefix-suffix"> <$list filter="[match[prefix]]" variable="ignore"> <$text text={{{ [[$:/state/musicsheets/note-values/]addsuffixget[text]] }}}/><$text text={{$(note-g)$}}/> @@ -14,6 +12,9 @@ title: $:/plugins/BTC/musicsheets/ui/EditorToolbar/dropdown/G +<$list filter="[{!!category}match[Chords]]"> + <$text text={{$(note-g)$}}/> + \end \define toolbar-button-note-g-inner() <$button tag="a">