Skip to content

Commit 3c94624

Browse files
committed
Updated for Igis 1.3.4 and Scenes 1.0.10
fix(TextLabel): Use the actualBoundingBox rather than the font The fontBoundingBox isn't yet available from all browsers
1 parent 70f614a commit 3c94624

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.dir-locals.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
;;; For more information see (info "(emacs) Directory Variables")
33

44
((swift-mode
5-
(flycheck-swift-include-search-paths "/usr/local/lib/merlin/Igis-1.3.3/Igis/.build/debug" "/usr/local/lib/merlin/Scenes-1.0.9/Scenes/.build/debug")))
5+
(flycheck-swift-include-search-paths "/usr/local/lib/merlin/Igis-1.3.4/Igis/.build/debug" "/usr/local/lib/merlin/Scenes-1.0.10/Scenes/.build/debug")))

Sources/ScenesControls/TextLabel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public class TextLabel : Control {
115115
/// Calculates a new rect based upon the size of the text.
116116
open func calculateRect() -> Rect? {
117117
if let metrics = textMetric.currentMetrics {
118-
var rect = metrics.fontBoundingBox()
118+
var rect = metrics.actualBoundingBox()
119119
rect.inflate(by: controlStyle.padding)
120120
rect.topLeft = topLeft
121121
return rect

dylib.manifest

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
Igis 1.3.3
2-
Scenes 1.0.9
3-
1+
Igis 1.3.4
2+
Scenes 1.0.10

0 commit comments

Comments
 (0)