mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 22:25:38 +00:00
OCD commit.
This commit is contained in:
parent
e36041669d
commit
c96696fb96
|
@ -391,7 +391,7 @@ void DateTimeEditComponent::updateTextCache()
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Year.
|
// Year.
|
||||||
glm::vec2 start {};
|
glm::vec2 start {0.0f, 0.0f};
|
||||||
glm::vec2 end {font->sizeText(dispString.substr(0, 4))};
|
glm::vec2 end {font->sizeText(dispString.substr(0, 4))};
|
||||||
glm::vec2 diff {end - start};
|
glm::vec2 diff {end - start};
|
||||||
mCursorBoxes.push_back(glm::vec4 {start[0], start[1], diff[0], diff[1]});
|
mCursorBoxes.push_back(glm::vec4 {start[0], start[1], diff[0], diff[1]});
|
||||||
|
|
Loading…
Reference in a new issue