Fix indentation
This commit is contained in:
1 parent
b0cbda4ee0
commit
96330996a6
1 file changed
+4
-4
Vendored
+4
-4
@@ -798,10 +798,10 @@ __getVerticalAlign :: proc(
|
|||||||
|
|
||||||
case .BOTTOMLEFT:
|
case .BOTTOMLEFT:
|
||||||
switch av {
|
switch av {
|
||||||
case .TOP: res = -font.ascender * f32(pixelSize) / 10
|
case .TOP: res = -font.ascender * f32(pixelSize) / 10
|
||||||
case .MIDDLE: res = -(font.ascender + font.descender) / 2 * f32(pixelSize) / 10
|
case .MIDDLE: res = -(font.ascender + font.descender) / 2 * f32(pixelSize) / 10
|
||||||
case .BASELINE: res = 0
|
case .BASELINE: res = 0
|
||||||
case .BOTTOM: res = -font.descender * f32(pixelSize) / 10
|
case .BOTTOM: res = -font.descender * f32(pixelSize) / 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user