mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
Fix indentation
This commit is contained in:
Vendored
+4
-4
@@ -798,10 +798,10 @@ __getVerticalAlign :: proc(
|
||||
|
||||
case .BOTTOMLEFT:
|
||||
switch av {
|
||||
case .TOP: res = -font.ascender * f32(pixelSize) / 10
|
||||
case .MIDDLE: res = -(font.ascender + font.descender) / 2 * f32(pixelSize) / 10
|
||||
case .BASELINE: res = 0
|
||||
case .BOTTOM: res = -font.descender * f32(pixelSize) / 10
|
||||
case .TOP: res = -font.ascender * f32(pixelSize) / 10
|
||||
case .MIDDLE: res = -(font.ascender + font.descender) / 2 * f32(pixelSize) / 10
|
||||
case .BASELINE: res = 0
|
||||
case .BOTTOM: res = -font.descender * f32(pixelSize) / 10
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user