mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-22 15:37:51 +00:00
various bug fixes
This commit is contained in:
@@ -293,6 +293,10 @@ void UCogInputWindow_Gamepad::RenderContent()
|
||||
ImGui::Dummy(bShowAsOverlay ? CanvasMax - CanvasMin : ContentSize);
|
||||
if (ImGui::BeginPopupContextItem())
|
||||
{
|
||||
if (ImGui::Button("Close", ImVec2(-1.0f, 0)))
|
||||
{
|
||||
SetIsVisible(false);
|
||||
}
|
||||
ImGui::Checkbox("Overlay", &bShowAsOverlay);
|
||||
ImGui::Separator();
|
||||
ImGui::Checkbox("Invert Left Stick Y", &bInvertLeftStickY);
|
||||
|
||||
@@ -36,7 +36,6 @@ private:
|
||||
UPROPERTY(Config)
|
||||
float RepeatPeriod = 0.5f;
|
||||
|
||||
UPROPERTY(Config)
|
||||
float RepeatTime = 0.0f;
|
||||
|
||||
UPROPERTY()
|
||||
|
||||
@@ -69,6 +69,9 @@ private:
|
||||
UPROPERTY(Config)
|
||||
float Border = 0.02f;
|
||||
|
||||
UPROPERTY(Config)
|
||||
float RepeatPeriod = 0.5f;
|
||||
|
||||
UPROPERTY()
|
||||
TWeakObjectPtr<const UCogInputDataAsset> Asset;
|
||||
|
||||
@@ -78,8 +81,6 @@ private:
|
||||
|
||||
ImDrawList* DrawList = nullptr;
|
||||
|
||||
float RepeatPeriod = 0.5f;
|
||||
|
||||
float RepeatTime = 0.0f;
|
||||
|
||||
ImVec2 CanvasMin;
|
||||
|
||||
Reference in New Issue
Block a user