Merge branch 'worktree-agent-ad7403b5194d75449'
This commit is contained in:
110 files changed
+7707
-1
No files matched your search
@@ -0,0 +1,9 @@
|
||||
package internal
|
||||
|
||||
import "github.com/egoist/mygo/ui"
|
||||
|
||||
// Rule draws a pixel-aligned 1 DIP horizontal line at y.
|
||||
func Rule(p *ui.Painter, x0, x1, y float32, c ui.Color) {
|
||||
yy := ruleY(p, y)
|
||||
p.Line(x0, yy, x1, yy, 1, c)
|
||||
}
|
||||
Reference in new issue
Block a user