We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aad608 commit 59fa3ceCopy full SHA for 59fa3ce
1 file changed
vg/recorder/recorder.go
@@ -32,11 +32,6 @@ type Canvas struct {
32
// This includes source filename and line number.
33
KeepCaller bool
34
35
- // c holds a backing vg.Canvas. If c is non-nil
36
- // then method calls to the Canvas will be
37
- // reflected to c.
38
- c vg.Canvas
39
-
40
// fonts holds a collection of font/size descriptions.
41
fonts map[fontID]font.Face
42
cache *font.Cache
@@ -112,9 +107,6 @@ func (c *Canvas) ReplayOn(dst vg.Canvas) error {
112
107
}
113
108
114
109
func (c *Canvas) append(a Action) {
115
- if c.c != nil {
116
- a.ApplyTo(c)
117
- }
118
110
if c.KeepCaller {
119
111
a.callerLocation().set()
120
0 commit comments