Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Gagis committed Nov 15, 2023
1 parent 8c7e4b3 commit 1601a0c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/morda/widgets/base/blending_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ blending_widget::blending_widget(const utki::shared_ref<morda::context>& c, cons
}

if (p.value == "blend") {
this->isBlendingEnabled_v = get_property_value(p).to_bool();
this->is_blending_enabled_v = get_property_value(p).to_bool();
} else if (p.value == "blend_src") {
this->blend_v.src = blend_factor_from_string(get_property_value(p).to_string());
} else if (p.value == "blend_dst") {
Expand All @@ -88,10 +88,10 @@ void blending_widget::set_blending_to_renderer() const

void blending_widget::set_blending_enabled(bool enable)
{
if (this->isBlendingEnabled_v == enable) {
if (this->is_blending_enabled_v == enable) {
return;
}
this->isBlendingEnabled_v = enable;
this->is_blending_enabled_v = enable;
this->on_blending_change();
}

Expand Down
4 changes: 2 additions & 2 deletions src/morda/widgets/base/blending_widget.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace morda {
*/
class blending_widget : public virtual widget
{
bool isBlendingEnabled_v = true;
bool is_blending_enabled_v = true;

public:
/**
Expand Down Expand Up @@ -94,7 +94,7 @@ class blending_widget : public virtual widget
*/
bool is_blending_enabled() const noexcept
{
return this->isBlendingEnabled_v;
return this->is_blending_enabled_v;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/harness/modules/mordavokne

0 comments on commit 1601a0c

Please sign in to comment.