-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
caps-lock
attribute to the style
block
This allows overriding the functionality provided by the theme, and turning off caps lock. By providing `caps-lock: true` this will force the text to uppercase. - Introduced a new object `d2graph.Boolean` to store the bool for the `caps-lock` option. - Introduced 2 helper methods `IsCapsLocked()` and `IsNotCapsLocked()` to avoid the duplication of the nil & boolean checks.
- Loading branch information
1 parent
a53eb48
commit 0188918
Showing
2 changed files
with
57 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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