mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f7dda9c006 | ||
![]() |
20df3fce6b |
3 changed files with 3 additions and 4 deletions
1
TODO.md
1
TODO.md
|
@ -18,6 +18,7 @@
|
|||
- [ ] Debug the Preference window on OS X (GetIcon() must be overridden)
|
||||
- [x] When MainWindow is resized, the chess move editor scroll get broken if it was in used(It is related to CGEditor, on canvas resize, ScrollX/ScrollY is not updated properly, thus item can become unreachable)
|
||||
- [ ] When OChess preferences are changed, they are not applied on the openned tabs (only on OS X)
|
||||
- [ ] In CGEditor, when moves are deleted, scroll mus be resets otherwise bugs (sounds like a reset scroll method in the Scrollbar should do the trick)
|
||||
|
||||
## Additional Features
|
||||
- [x] Add a live evaluation bar to the BoardCanvas
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 5ceb3eafc405859f5e588118158cb9e9dbd00485
|
||||
Subproject commit 7d753ae2d82592e09e04e4ecf11df976a2d187fd
|
|
@ -183,13 +183,11 @@ void EditorCanvas::MouseEvent(wxMouseEvent &event) {
|
|||
void EditorCanvas::SetMoves(HalfMove *moves, HalfMove *current) {
|
||||
CGEditor::status.Moves = moves;
|
||||
CGEditor::status.CurrentMove = current;
|
||||
Refresh();
|
||||
// Focus on current move:
|
||||
if(current!=nullptr){
|
||||
Update(); // Wait for preview call to Refresh() to finish (otherwise heisenbugs)
|
||||
CGEditor::FocusOnMove(current);
|
||||
Refresh();
|
||||
}
|
||||
Refresh();
|
||||
}
|
||||
|
||||
void EditorCanvas::ApplyPreferences(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue