Skip to content

Commit

Permalink
Merge pull request #1380 from gemini-hlsw/publish-seq-row-heights
Browse files Browse the repository at this point in the history
Publish sequence row heights in Scala
  • Loading branch information
rpiaggio authored Dec 17, 2024
2 parents 05df392 + da3e622 commit fdfe862
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/ui/src/main/scala/lucuma/ui/sequence/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,20 @@ import lucuma.core.math.SignalToNoise
import lucuma.core.model.sequence.Step
import lucuma.core.model.sequence.gmos.DynamicConfig
import lucuma.core.util.NewType
import lucuma.react.SizePx
import lucuma.react.common.*
import lucuma.react.primereact.Tooltip
import lucuma.react.primereact.tooltip.*
import lucuma.react.syntax.*
import lucuma.ui.LucumaIcons
import lucuma.ui.LucumaStyles
import lucuma.ui.utils.*
import lucuma.ui.utils.Render

object SequenceRowHeight:
val Regular: SizePx = 25.toPx
val WithExtra: SizePx = 60.toPx

object StepIndex extends NewType[PosInt]:
val One: StepIndex = StepIndex(PosInt.unsafeFrom(1))
type StepIndex = StepIndex.Type
Expand Down

0 comments on commit fdfe862

Please sign in to comment.