From 3e465cdef46f0128b36510f7b6ac03b497c48465 Mon Sep 17 00:00:00 2001 From: Fluffy Date: Mon, 27 Apr 2020 13:49:31 +0200 Subject: [PATCH] remove focus from search when selection is made --- About/About.xml | 2 +- Assemblies/CommandPalette.dll | Bin 17408 -> 17408 bytes Readme.md | 2 +- Source/ModConfig.json | 14 +++++++++++--- Source/PaletteWindow.cs | 1 + Source/Properties/AssemblyInfo.cs | 2 +- 6 files changed, 15 insertions(+), 6 deletions(-) diff --git a/About/About.xml b/About/About.xml index 391826c..df64162 100644 --- a/About/About.xml +++ b/About/About.xml @@ -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. https://steamcommunity.com/id/Fluffy/myworkshopfiles/?appid=294100 diff --git a/Assemblies/CommandPalette.dll b/Assemblies/CommandPalette.dll index 0e9f5c2e8a5a7398db4abc5233618291818e77b7..8c435cad7f441fdcbb2ab4e2b4940771cb274636 100644 GIT binary patch delta 813 zcmY+CZAep57{~wTZXUPYsaxUP@Ji}t-suL0L(QgQ+KZAe)Wnxws1K$=v@t(uSZ$%1 zkf7^Wew7fSJ_%Ro4a4Y#p!7>cU?D-W~yipA`s=I{WoeJrY#R2N_$4-)~JcvyJODlEg~6`QvdkahOS5+Iq(DOOo85=4Xx z4!{_F&rXT;-UR`Xd>~%qkVS5-Ys8HBc8GYLsxE5Pzg(V?C*vx=e>@Hf-KxXIWYZ*_hVo1y%(D z3Ez{NvqMzLTBLT~#H6ud|OKv-cpZ(GWzOrylg{G>Xd%XR zaTg~UQyL`?^(iT2k)u3QD-Bv^y;{|5eD$tLZdQO-9kt}`BHO@ TFRZWjhOkDB`9V(`qZEF+Eq(Y}+`5D@m6Q_OLL@7u(lt3|Zp^2au zuGj3wf*_29B02?qiXbEvT?9!N+6P@ER3Jj27vg%)*}13#?|I+f`+uJ2|9-_rC^kal zBj#Jm{m=2SEP5Wl*Fqhf$ZMHv1rG3BDac#NOLP1R4Y;P-pnrAZFTnz90q`^k5MK-J zSC2_UjE?X{Ya{*UZaGX3c&{9GRXfdH-GI#}1A&56$!T^npBrF&RW8nv6N$tZn;c|v zSFZ?K-Yu#*wCdH^Iz%?!U>l+r{DUo@miW4@m@GVKFH5~Zh)S0fz}&sSFWRg84<$tN zfLMj%vkMzTdn;zs6G;a z4r3{;p1ClsQ#|90{f{LRpOTuj&3b}mV$+D+mlj4Q#{62|YkZRkSyHXzyv31+X4eGt%c>>aW5|$uZqEQKKGTsJwl*^XBN*{GuA#`#6P) z_*%)j@~(X*rrC=NLR7R3@eDUg`BrJ3<6Ot1K=XWG&Fs&^Z(Lrbfft5O?HD(nq?R+I zjd#X#6`E3?gj(rZnTKyHkI8i~frM12-Y7pxRHUv{jEau;R9=@}mZ;8ys}wIx`3p;` BvL*lk diff --git a/Readme.md b/Readme.md index 00f275d..2a65ec2 100644 --- a/Readme.md +++ b/Readme.md @@ -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. \ No newline at end of file +This is version 1.3.74, for RimWorld 1.1.2610. \ No newline at end of file diff --git a/Source/ModConfig.json b/Source/ModConfig.json index 935dfff..c1621db 100644 --- a/Source/ModConfig.json +++ b/Source/ModConfig.json @@ -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" diff --git a/Source/PaletteWindow.cs b/Source/PaletteWindow.cs index cc923e4..1a30f8f 100644 --- a/Source/PaletteWindow.cs +++ b/Source/PaletteWindow.cs @@ -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() ) ); diff --git a/Source/Properties/AssemblyInfo.cs b/Source/Properties/AssemblyInfo.cs index 5686dd8..564967c 100644 --- a/Source/Properties/AssemblyInfo.cs +++ b/Source/Properties/AssemblyInfo.cs @@ -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")]