Skip to content

Commit

Permalink
Set s/n @ controls as readonly if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
cquiroz committed Aug 14, 2024
1 parent 7fa4039 commit 6e90dc7
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,6 @@ sealed abstract class AdvancedConfigurationPanelBuilder[
Logger[IO]
): View[Fpu]

// @inline protected def overrideExposureTimeMode(aligner: AA)(using
// MonadError[IO, Throwable],
// Effect.Dispatch[IO],
// Logger[IO]
// ): View[Option[ExposureTimeMode]]

@inline protected def explicitBinning(aligner: AA)(using
MonadError[IO, Throwable],
Effect.Dispatch[IO],
Expand Down Expand Up @@ -576,7 +570,7 @@ sealed abstract class AdvancedConfigurationPanelBuilder[
disabled = disableSimpleEdit
),
dithersControl(props.sequenceChanged),
SignalToNoiseAt(props.spectroscopyRequirements, false)
SignalToNoiseAt(props.spectroscopyRequirements, props.readonly)
// FormLabel(htmlFor = "exposureMode".refined)(
// "Exposure Mode",
// HelpIcon("configuration/exposure-mode.md".refined)
Expand Down

0 comments on commit 6e90dc7

Please sign in to comment.