fix: update tests and fix SetCursorFromPoint panic
- Rewrite cursor_test.go to use the current GlyphLayout-based API instead of the deleted byteOffsetToLineCol function - Add guard for empty/missing layout slices in SetCursorFromPoint to prevent index-out-of-range panic on empty documents - Add missing Advance field to e2e test GlyphLayout initialization - Add cmd/pad/pad binary to .gitignore
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
# build files
|
||||
*.apk
|
||||
*.idsig
|
||||
cmd/pad/pad
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
|
||||
Reference in New Issue
Block a user