Skip to content

Commit

Permalink
OOPS: Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
davesmith00000 committed Nov 19, 2023
1 parent ea36afc commit 40fa15d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 6 additions & 6 deletions indigo/indigo/src/main/scala/indigo/shared/QuickCache.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package indigo.shared

/** QuickCache is a handy way to avoid expensive re-calculation of data. It is a side-effecting arrangement that Indigo
* uses a lot internally, that can also be used by cautious game devs. Simple example:
```
given QuickCache[MyExpensiveObject] = QuickCache.empty
QuickCache("key")(obj)
```
*
* ```
* given QuickCache[MyExpensiveObject] = QuickCache.empty
*
* QuickCache("key")(obj)
* ```
*/
final class QuickCache[A](private val cache: scalajs.js.Dictionary[A]):

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ final case class Text[M <: Material](
def withFontKey(newFontKey: FontKey): Text[M] =
this.copy(fontKey = newFontKey)

/** Sets the vertical gap between lines of text _in addition_ (relative to) to the actual height of the text. Defaults to 0. */
/** Sets the vertical gap between lines of text _in addition_ (relative to) to the actual height of the text. Defaults
* to 0.
*/
def withLineHeight(amount: Int): Text[M] =
this.copy(lineHeight = amount)

Expand Down

0 comments on commit 40fa15d

Please sign in to comment.