Use correct pointer shape for hyperlinks

This commit is contained in:
Kovid Goyal
2024-05-07 12:26:28 +05:30
parent 96f8dbbbeb
commit 27a2e3c488
2 changed files with 11 additions and 0 deletions

View File

@@ -493,6 +493,8 @@ func (self *Loop) PopPointerShape() {
}
}
// Remove all pointer shapes from the shape stack resetting to default pointer
// shape. This is called automatically on loop termination.
func (self *Loop) ClearPointerShapes() (ans []PointerShape) {
ans = self.pointer_shapes
for i := len(self.pointer_shapes) - 1; i >= 0; i-- {