From 101b8b1005041de522252306465b534c37576403 Mon Sep 17 00:00:00 2001 From: 8o7wer <8o7wermobile@gmail.com> Date: Mon, 20 May 2019 20:41:00 -0800 Subject: fixed formatting --- win/win.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'win') diff --git a/win/win.go b/win/win.go index 3a06ea9..1741549 100644 --- a/win/win.go +++ b/win/win.go @@ -46,14 +46,14 @@ func Resizable() Option { } } -//Borderless option makes the window borderless +// Borderless option makes the window borderless. func Borderless() Option { return func(o *options) { o.borderless = true } } -//Maximized option makes the window start maximized +// Maximized option makes the window start maximized. func Maximized() Option { return func(o *options) { o.maximized = true @@ -65,12 +65,12 @@ func Maximized() Option { // The default title is empty and the default size is 640x480. func New(opts ...Option) (*Win, error) { o := options{ - title: "", - width: 640, - height: 480, - resizable: false, + title: "", + width: 640, + height: 480, + resizable: false, borderless: false, - maximized: false, + maximized: false, } for _, opt := range opts { opt(&o) -- cgit v1.2.3