Skip to content

Commit

Permalink
fix ui blur not showing when mb is on
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBarii committed Sep 16, 2024
1 parent d07c8b0 commit a209dc0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Client/Module/Modules/ClickGUI/ClickGUIRenderer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ class ClickGUIRenderer : public Listener {

}

if (SwapchainHook::init && baseHeightActual > 0.014) {
if (SwapchainHook::init && baseHeightActual > 0.0155f) {

this->module->settings.getSettingByName<bool>("enabled")->value = true;

/* Base Rectangle Start */

Expand Down Expand Up @@ -609,6 +611,9 @@ class ClickGUIRenderer : public Listener {
}
FlarialGUI::PopSize(); // Pops base rect
}

if(realBlurAmount < 0.5f) this->module->settings.getSettingByName<bool>("enabled")->value = false;

FlarialGUI::displayToolTips();
FlarialGUI::NotifyHeartbeat();
}
Expand Down
3 changes: 3 additions & 0 deletions src/Client/Module/Modules/MotionBlur/MotionBlurListener.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ class MotionBlurListener : public Listener {


void onRender(RenderEvent &event) override {

if(ModuleManager::getModule("ClickGUI")->isEnabled()) return;

int maxFrames = (int)round(module->settings.getSettingByName<float>("intensity2")->value);

if (SDK::getCurrentScreen() == "hud_screen" && !SwapchainHook::queue && this->module->isEnabled()) {
Expand Down

6 comments on commit a209dc0

@PoopyHaters
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yo what does this do

@oAnshull
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PoopyHaters this commit is related with the issue where the click gui blur doesn't work when motion blur is enabled. This issue is fixed by checking if click gui is enabled and if it is then disable motion blur.

@PoopyHaters
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok well pls dont call me "poopy haters" idk why im named that

@oAnshull
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PoopyHaters I am sorry poopy haters

@PoopyHaters
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@PoopyHaters
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait github is better than whatsapp group chats

Please sign in to comment.