Skip to content

Commit

Permalink
remove focus from search when selection is made
Browse files Browse the repository at this point in the history
  • Loading branch information
FluffierThanThou committed Apr 27, 2020
1 parent 635f240 commit 3e465cd
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Recently used commands will be immediately shown. Type a few letters to show com
None

<size=24>Version</size>
This is version 1.3.72, for RimWorld 1.1.2610.
This is version 1.3.74, for RimWorld 1.1.2610.

</description>
<url>https://steamcommunity.com/id/Fluffy/myworkshopfiles/?appid=294100</url>
Expand Down
Binary file modified Assemblies/CommandPalette.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ Show your appreciation by buying me a coffee (or contribute towards a nice singl
[![I Have a Black Dog](https://i.ibb.co/ss59Rwy/New-Project-2.png)](https://www.youtube.com/watch?v=XiCrniLQGYc)

# Version
This is version 1.3.72, for RimWorld 1.1.2610.
This is version 1.3.74, for RimWorld 1.1.2610.
14 changes: 11 additions & 3 deletions Source/ModConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,22 @@
"version": {
"major": 1,
"minor": 3,
"build": 72
"build": 74
},
"git_user": "fluffy-mods",
"git_repo": "CommandPalette",
"visibility": 0,
"packageId": "fluffy.commandpalette",
"changenote": "",
"changenotes": [],
"changenote": "2020-04-27 :: Fluffy :: add configurable keybinding",
"changenotes": [
{
"repo": "CommandPalette",
"hash": "635f240260700f7b249ab2c8dfb2ca4cd2c21268",
"date": "2020-04-27",
"author": "Fluffy",
"message": "add configurable keybinding"
}
],
"contributors": {},
"tags": [
"1.1"
Expand Down
1 change: 1 addition & 0 deletions Source/PaletteWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ public void DoPalette( Rect canvas, float fade )
case GizmoState.Interacted:
case GizmoState.OpenedFloatMenu when designator.RightClickFloatMenuOptions.FirstOrDefault() == null:
Select( designator, result );
GUI.FocusControl("Nowhere");
return;
case GizmoState.OpenedFloatMenu when designator.RightClickFloatMenuOptions.FirstOrDefault() != null:
Find.WindowStack.Add( new FloatMenu( designator.RightClickFloatMenuOptions.ToList() ) );
Expand Down
2 changes: 1 addition & 1 deletion Source/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("1.3.72")]
[assembly: AssemblyFileVersion("1.3.74")]

0 comments on commit 3e465cd

Please sign in to comment.