Skip to content

Commit 9b7cafc

Browse files
committed
ps1
1 parent fc59820 commit 9b7cafc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

vg/vggio/vg.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@ type Canvas struct {
2626
gtx layout.Context
2727
}
2828

29-
const (
30-
// DefaultDPI is the default dot resolution for image
31-
// drawing in dots per inch.
32-
DefaultDPI = 96
33-
)
29+
// DefaultDPI is the default dot resolution for image
30+
// drawing in dots per inch.
31+
const DefaultDPI = 96
3432

3533
// New returns a new image canvas with the provided dimensions and options.
3634
// The currently accepted options are UseDPI and UseBackgroundColor.

0 commit comments

Comments
 (0)