mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 18:35:34 +00:00
+1
-1
@@ -61,7 +61,7 @@ func (c *Context) Reset(cfg system.Config, size image.Point) {
|
|||||||
c.Ops.Reset()
|
c.Ops.Reset()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Now returns the configuration time or the the zero time.
|
// Now returns the configuration time or the zero time.
|
||||||
func (c *Context) Now() time.Time {
|
func (c *Context) Now() time.Time {
|
||||||
if c.cfg == nil {
|
if c.cfg == nil {
|
||||||
return time.Time{}
|
return time.Time{}
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ func Stacked(w Widget) StackChild {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Expanded returns a Stack child that is forced to take up at least
|
// Expanded returns a Stack child that is forced to take up at least
|
||||||
// the the space as the largest Stacked.
|
// the space as the largest Stacked.
|
||||||
func Expanded(w Widget) StackChild {
|
func Expanded(w Widget) StackChild {
|
||||||
return StackChild{
|
return StackChild{
|
||||||
expanded: true,
|
expanded: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user