Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hamoid committed Mar 6, 2024
1 parent 7118acf commit 27de747
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
13 changes: 7 additions & 6 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.4)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.2.3)
Expand All @@ -11,7 +11,7 @@ GEM
eventmachine (1.2.7)
ffi (1.16.3)
forwardable-extended (2.6.0)
google-protobuf (3.23.4-x86_64-linux)
google-protobuf (3.25.3-x86_64-linux)
http_parser.rb (0.8.0)
i18n (1.14.3)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -50,8 +50,9 @@ GEM
jekyll-watch (2.2.1)
listen (~> 3.0)
json (2.7.1)
just-the-docs (0.5.4)
just-the-docs (0.8.0)
jekyll (>= 3.8.5)
jekyll-include-cache
jekyll-seo-tag (>= 2.0)
rake (>= 12.3.1)
kramdown (2.4.0)
Expand All @@ -65,17 +66,17 @@ GEM
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.3)
public_suffix (5.0.4)
racc (1.7.3)
rake (13.0.6)
rake (13.1.0)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.6)
rouge (4.2.0)
rubyzip (2.3.2)
safe_yaml (1.0.5)
sass-embedded (1.64.1-x86_64-linux-gnu)
sass-embedded (1.69.5-x86_64-linux-gnu)
google-protobuf (~> 3.23)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
Expand Down
6 changes: 6 additions & 0 deletions docs/_sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ div.highlighter-rouge code {
background-color: #F4F4F4;
}

/* Valid code highlighted as error. Disable */
div.highlighter-rouge span.err {
color: black;
background-color: transparent;
}

a:not([class]) {
text-decoration-color: rgb(255, 192, 203);
text-decoration-thickness: 0.14em;
Expand Down
12 changes: 6 additions & 6 deletions docs/interaction/Events.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
layout: default
title: Events
parent: Interaction
last_modified_at: 2024.03.06 16:20:27 +0100
last_modified_at: 2024.03.06 22:01:40 +0100
nav_order: 90
has_children: false
---
Expand Down Expand Up @@ -158,15 +158,15 @@ triggered due to external causes (loading
a file from the Internet and waiting for its completion
or an event coming from a hardware input device).

This will become apparent when we fail to draw on our window:

```
This will become apparent when we fail to draw on our window:
```kotlin
blob.doneWaiting.listen {
drawer.clear(ColorRGBa.WHITE) // <-- will not work
println("done waiting")
}
```

```
The solution is simple though: when constructing the `Event`, we
set the `postpone` argument to true:

Expand Down

0 comments on commit 27de747

Please sign in to comment.