Skip to content

Commit

Permalink
Fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
vcmikuu committed Aug 13, 2024
1 parent 83edcb2 commit 6ef5108
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ MAKE_HOOK_MATCH(m_DidActivate,

m_DidActivate(self, firstActivation, addedToHeirarchy, screenSystemEnabling);

if(getModConfig().Active.GetValue()){
Logger.info("ImageCoverExpander Set Value True");
getModConfig().Active.SetValue(true);
} else{
Logger.info("ImageCoverExpander Set Value False");
getModConfig().Active.SetValue(false);
}

if(getModConfig().Active.GetValue()){
Logger.info("ImageCoverExpander Found Value Set As True, not expanding");
Expand All @@ -55,7 +48,7 @@ MAKE_HOOK_MATCH(m_DidActivate,
imageView->set_color(Color(0.5, 0.5, 0.5, 1));
imageView->set_preserveAspect(false);
imageView->_skew = 0.0f;
imageView->__Refresh();
// imageView->__Refresh();
}

}
Expand Down

0 comments on commit 6ef5108

Please sign in to comment.