fixed slide_object tracking the index so the previewer can follow
This commit is contained in:
parent
85b9f9cede
commit
64e10dd765
2 changed files with 20 additions and 14 deletions
6
TODO.org
6
TODO.org
|
@ -4,13 +4,14 @@
|
|||
:CATEGORY: dev
|
||||
:END:
|
||||
|
||||
* Tasks [62%] [50/80]
|
||||
** TODO [#A] Fix updating things in the song editor
|
||||
* Tasks [62%] [51/82]
|
||||
** TODO [#B] Fix updating things in the song editor
|
||||
[[file:~/dev/lumina/src/qml/presenter/SongEditor.qml::function updateLyrics(lyrics) {]]
|
||||
The core problem with this is that when we set the song, the index to get the item is the index of the item in the vector, not the ID in the DB. So, when we get a song, we can't use that index to update things, we need to make sure we are using the id so that all the new work in updating the right item is done correctly.
|
||||
|
||||
*** TODO Seems that updating songs aren't reflected well
|
||||
[[file:~/dev/lumina/src/rust/songs/song_model.rs::updated_background.to_string();]]
|
||||
** TODO [#B] Fix switching songs in editor not showing the right lyrics
|
||||
** TODO Create a song_lyrics searching and importer for the song_editor
|
||||
[[file:~/dev/lumina/src/rust/songs/song_lyrics.rs::pub fn search_song(s: &str) -> Result<Vec<Song>, Error> {]]
|
||||
|
||||
|
@ -257,6 +258,7 @@ Like this..
|
|||
target_link_libraries(${APP_NAME} PRIVATE ${APP_NAME}_lib)
|
||||
#+end_src
|
||||
|
||||
** DONE [#A] Fix using arrows shows the right slide, but the slide preview list doesn't follow it
|
||||
** DONE Write a function to handle switching to the next fragment in revealjs
|
||||
[[file:~/dev/lumina/src/qml/presenter/Slide.qml::WebEngineView {]]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue