doc: rewrite references to preivous api to current

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
This commit is contained in:
Wagner Riffel
2020-05-13 06:55:38 -03:00
committed by Elias Naur
parent f29964fee1
commit 4bbc6379ed
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ For example:
w := app.NewWindow()
for e := range w.Events() {
if e, ok := e.(app.FrameEvent); ok {
if e, ok := e.(system.FrameEvent); ok {
ops.Reset()
// Add operations to ops.
...
+1 -1
View File
@@ -13,7 +13,7 @@ in an implicit Context to keep the Widget declaration short.
For example, to add space above a widget:
gtx := layout.NewContext(...)
gtx := new(layout.Context)
gtx.Reset(...)
// Configure a top inset.