mirror of
https://github.com/hyprwm/hyprlock.git
synced 2026-05-08 22:08:02 +02:00
use password size
This commit is contained in:
parent
801491a190
commit
1ab3582ec7
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ void CPasswordInputField::updatePassword() {
|
|||
request.type = CAsyncResourceGatherer::eTargetType::TARGET_TEXT;
|
||||
request.props["font_family"] = fontFamily;
|
||||
request.props["color"] = colorConfig.font;
|
||||
request.props["font_size"] = (int)(std::nearbyint(configSize.y * dots.size * 0.5f) * 2.f);
|
||||
request.props["font_size"] = (int)(std::nearbyint(configSize.y * password.size * 0.5f) * 2.f);
|
||||
|
||||
password.resourceID = textResourceID;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue