Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
bvr-yr committed Mar 11, 2024
1 parent 369ffe3 commit 50103aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/renderer/widgets/PasswordInputField.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ CPasswordInputField::CPasswordInputField(const Vector2D& viewport_, const std::u

auto POS__ = std::any_cast<Hyprlang::VEC2>(props.at("position"));
auto SIZE__ = std::any_cast<Hyprlang::VEC2>(props.at("size"));
pos = {POS__.x, POS__.y};
size = {SIZE__.x, SIZE__.y};
configPos = pos;
configSize = size;
pos = {POS__.x, POS__.y};
size = {SIZE__.x, SIZE__.y};
configPos = pos;
configSize = size;

halign = std::any_cast<Hyprlang::STRING>(props.at("halign"));
valign = std::any_cast<Hyprlang::STRING>(props.at("valign"));
Expand Down Expand Up @@ -169,7 +169,7 @@ bool CPasswordInputField::draw(const SRenderData& data) {
updateOuter();
updateHiddenInputState();

static auto TIMER = std::chrono::system_clock::now();
static auto TIMER = std::chrono::system_clock::now();

if (placeholder.failAsset) {
const auto TARGETSIZEX = placeholder.failAsset->texture.m_vSize.x + inputFieldBox.h;
Expand All @@ -190,7 +190,7 @@ bool CPasswordInputField::draw(const SRenderData& data) {
pos = posFromHVAlign(viewport, size, configPos, halign, valign);
} else if (size.x != configSize.x) {
size.x = configSize.x;
pos = posFromHVAlign(viewport, size, configPos, halign, valign);
pos = posFromHVAlign(viewport, size, configPos, halign, valign);
}

SRenderData shadowData = data;
Expand Down

0 comments on commit 50103aa

Please sign in to comment.