Open
Conversation
LauraWebdev
reviewed
Apr 21, 2024
demo/SofiaConsole.csproj.old
Outdated
Owner
There was a problem hiding this comment.
This file can be removed if the project works properly.
LauraWebdev
reviewed
Apr 21, 2024
demo/addons/sofiaconsole/Console.cs
Outdated
|
|
||
| GD.Print("[SofiaConsole] Done"); | ||
|
|
||
| // _commandInput.TextChanged += _ => UpdateUi(); |
Owner
There was a problem hiding this comment.
Should be removed if unused.
LauraWebdev
reviewed
Apr 21, 2024
demo/addons/sofiaconsole/Console.cs
Outdated
|
|
||
| // Press Up to toggle between previous commands | ||
| if (eventKey.Keycode == Key.Up && _commandInput.HasFocus() && _commandHistory.Count > 0) | ||
| // TODO |
Owner
There was a problem hiding this comment.
Should be removed if unused.
LauraWebdev
reviewed
Apr 21, 2024
demo/addons/sofiaconsole/Console.cs
Outdated
| if (_suggestions.Count > 0 && _currentSuggestionIndex >= 0) | ||
| { | ||
| historyIndex = _commandHistory.Count; | ||
| // _commandInput.Text = _suggestions[_currentSuggestionIndex]; |
Owner
There was a problem hiding this comment.
Should be removed if unused.
LauraWebdev
reviewed
Apr 21, 2024
demo/addons/sofiaconsole/Console.cs
Outdated
|
|
||
| if (_currentSuggestionIndex >= 0 && _suggestions.Count > 0 && _currentSuggestionIndex < _suggestions.Count && _suggestions[_currentSuggestionIndex] == text) | ||
| { | ||
| newLabel.AddThemeStyleboxOverride("normal", GD.Load<StyleBoxFlat>("res://addons/sofiaconsole/StyleBox.tres")); |
Owner
There was a problem hiding this comment.
We should probably give this asset a proper name, StyleBox does not indicate what it is used for.
Author
|
@LauraWebdev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
enlarge ui and add suggestions.
edit: add paused when open console.