Demos: ensure 720px wide, reduce indentation
This commit is contained in:
@@ -25,7 +25,7 @@ Optionally, a static `backdrop` may be setup by providing custom code.
|
||||
- Example 1. Customising the backdrop with an image
|
||||
```kotlin
|
||||
extend(NoClear()) {
|
||||
val img = loadImage("data\\backdrop.png")
|
||||
val img = loadImage("data/backdrop.png")
|
||||
backdrop = {
|
||||
drawer.image(img, 0.0, 0.0, width * 1.0, height * 1.0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user