Skip to content

Commit

Permalink
Asset Browser: Fixed mousewheel scrolling, it no longer effects the t…
Browse files Browse the repository at this point in the history
…humbnails.
  • Loading branch information
luciusDXL committed Sep 25, 2023
1 parent 81badc5 commit ff8ddd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TheForceEngine/TFE_Editor/assetBrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ namespace AssetBrowser
ImGui::SetCursorPos(cursor);

ImGui::PushStyleColor(ImGuiCol_Border, getBorderColor(a));
if (ImGui::BeginChild(buttonLabel, ImVec2(itemWidth, itemHeight), true, ImGuiWindowFlags_NoDecoration))
if (ImGui::BeginChild(buttonLabel, ImVec2(itemWidth, itemHeight), true, ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoScrollWithMouse))
{
EditorTexture* tex = &s_viewAssetList[a].texture;
s32 offsetX = 0, offsetY = 0;
Expand Down

0 comments on commit ff8ddd1

Please sign in to comment.