Skip to content

Commit

Permalink
ui.gadgets.panes: reset the cached fonts on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Nov 15, 2024
1 parent e273f07 commit fd086b5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions basis/ui/gadgets/panes/panes.factor
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
! See https://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs classes combinators destructors
documents.private fonts io io.styles kernel math math.rectangles
math.vectors models models.range namespaces sequences sets
sorting splitting strings ui.baseline-alignment ui.clipboards
ui.gadgets ui.gadgets.borders ui.gadgets.grid-lines
ui.gadgets.grids ui.gadgets.icons ui.gadgets.incremental
ui.gadgets.labels ui.gadgets.menus ui.gadgets.packs
ui.gadgets.paragraphs ui.gadgets.presentations
math.vectors memoize models models.range namespaces sequences
sets sorting splitting strings ui.baseline-alignment
ui.clipboards ui.gadgets ui.gadgets.borders
ui.gadgets.grid-lines ui.gadgets.grids ui.gadgets.icons
ui.gadgets.incremental ui.gadgets.labels ui.gadgets.menus
ui.gadgets.packs ui.gadgets.paragraphs ui.gadgets.presentations
ui.gadgets.private ui.gadgets.scrollers ui.gadgets.tracks
ui.gestures ui.images ui.pens.solid ui.render ui.theme
ui.traverse unicode ;
Expand Down Expand Up @@ -474,3 +474,5 @@ pane H{
GENERIC: content-gadget ( object -- gadget/f )

M: object content-gadget drop f ;

STARTUP-HOOK: [ \ specified-font reset-memoized ]

0 comments on commit fd086b5

Please sign in to comment.