Skip to content

Commit

Permalink
Brick.Widgets.Core.relativeTo: haddock edits to reflect recent behavi…
Browse files Browse the repository at this point in the history
…or change
  • Loading branch information
jtdaugherty committed Nov 21, 2024
1 parent adc0fe3 commit 6819100
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Brick/Widgets/Core.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1089,11 +1089,11 @@ translateBy off p =
--
-- This is only useful for positioning something in a higher layer
-- relative to a reported extent in a lower layer. Any other use is
-- likely to result in the specified widget being rendered as-is with
-- no translation. This is because this function relies on information
-- about lower layer renderings in order to work; using it with a
-- resource name that wasn't rendered in a lower layer will result in
-- this being equivalent to @id@.
-- likely to result in the specified widget not being rendered. This
-- is because this function relies on information about lower layer
-- renderings in order to work; using it with a resource name that
-- wasn't rendered in a lower layer will result in this being equivalent
-- to @emptyWidget@.
--
-- For example, if you have two layers @topLayer@ and @bottomLayer@,
-- then a widget drawn in @bottomLayer@ with @reportExtent Foo@ can be
Expand Down

0 comments on commit 6819100

Please sign in to comment.