-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
š Fix: Disable newly created event from being editing during optimistā¦
ā¦ic render cycle (#206) * fix: disable newly created event from being editing during optimistic render cycle Prevents the event from being modified when we initially insert the event as an optimistic event * refactor: replace disabledColorByPriority map with simple darken() the previous solution worked fine, but it came with the overhead of another color map in theme.util. We're going to get away from these as we support more priorities, so this method lets us scale with more ease --------- Co-authored-by: Tyler Dane <tyler@switchback.tech>
- Loading branch information
1 parent
9cde6be
commit a6cb22e
Showing
2 changed files
with
21 additions
and
5 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