# HG changeset patch # User Jason Maltzen # Date 2018-05-17 19:11:12 # Node ID 9d927a271fbb211511f77e5800dc7b8edf83efce # Parent 4d1a7a5dcd2280b391554f2a9d555251e20c504f Turn off record button when captured color is clipped. diff --git a/UI/CaptureView.cs b/UI/CaptureView.cs --- a/UI/CaptureView.cs +++ b/UI/CaptureView.cs @@ -399,6 +399,8 @@ namespace DesertPaintLab warning = warning + "\nBlue is too high."; } + // Always update the reacted swatch + this.reactionSwatch.Color = reactedColor; if (warning.Length != 0) { isCaptured = true; @@ -411,10 +413,11 @@ namespace DesertPaintLab md.Run(); md.Destroy(); + // reaction clipped - don't let them record + recordButton.Sensitive = false; } else { - this.reactionSwatch.Color = reactedColor; recordButton.Sensitive = recordEnabled; }