mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 23:00:45 +01:00
[poincare] Clean Charlayout baseline computation
This commit is contained in:
committed by
EmilieNumworks
parent
4e5bf5db2f
commit
bfc24f86c9
@@ -71,7 +71,7 @@ KDSize CharLayoutNode::computeSize() {
|
||||
}
|
||||
|
||||
KDCoordinate CharLayoutNode::computeBaseline() {
|
||||
return (m_font->glyphSize().height()+1)/2; //TODO +1 ?
|
||||
return m_font->glyphSize().height()/2;
|
||||
}
|
||||
|
||||
void CharLayoutNode::render(KDContext * ctx, KDPoint p, KDColor expressionColor, KDColor backgroundColor) {
|
||||
|
||||
Reference in New Issue
Block a user