Add feedback components 106-130; inert scope, focus return, two-step deploy
This commit is contained in:
87 files changed
+2492
-147
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ type ParagraphOptions struct {
|
||||
// Paragraph wraps s at the width it had last frame.
|
||||
func Paragraph(c *ui.Context, s string, o ParagraphOptions) *ui.Element {
|
||||
k := pixel.K(c)
|
||||
gap := orDef("Paragraph Gap", o.Gap, 0)
|
||||
gap := pixel.Or("Paragraph Gap", o.Gap, 0)
|
||||
if o.Align > Right {
|
||||
panic(fmt.Sprintf("text: unknown Align %d", o.Align))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user