mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix indentation
This commit is contained in:
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