Skip to content

Commit

Permalink
Re-allow color picker input fields
Browse files Browse the repository at this point in the history
I think it's pretty valuable to be able to copy HEX codes from the internet etc.
  • Loading branch information
danielchalmers committed Jan 12, 2024
1 parent ebe633f commit 39bced5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<MudDialog DefaultFocus="DefaultFocus.Element" OnBackdropClick="Submit">
<DialogContent>
<MudColorPicker Label="Primary" PickerVariant="PickerVariant.Static" @bind-Value="SelectedColor" DisableToolbar DisableAlpha DisableInputs />
<MudColorPicker Label="Primary" PickerVariant="PickerVariant.Static" @bind-Value="SelectedColor" DisableToolbar DisableAlpha />
</DialogContent>
</MudDialog>

Expand Down
2 changes: 1 addition & 1 deletion JournalApp/Components/Pages/MoodGrid/MoodGridDialog.razor
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
var palette = Preferences.Get("mood_palette", null);

if (string.IsNullOrEmpty(palette))
palette = "#6bdbe7";
palette = "#6bdbe7"; // Tetradic to our primary purple.
return palette;
}
Expand Down

0 comments on commit 39bced5

Please sign in to comment.