Skip to content

Commit

Permalink
Bugfix / tweak release:
Browse files Browse the repository at this point in the history
-- Add help buttons next to each Custom Binds button.
-- PowerBinder: don't crash/traceback if first step is cancelled
-- Write bufferbind files only for defined power steps
  • Loading branch information
emersonrp committed Jun 15, 2024
1 parent 05ca0d4 commit 44be553
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Help/BufferBinds.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ <h2>Buffer Binds</h2>
<p>A Buffer Bind can contain up to three buffing powers, with an optional chat/emote step to be activated with each power.</p>
<p>The Buffer Bind pane allows you to specify a bind key for each team member and for each pet.</p>
<p>The first press of a given key will select the associated team member or pet. Subsequent presses of the key will activate the buffing powers, in order. This allows you to buff each of your team members and/or pets with quick repetitive presses of one key per target.</p>
<p><i>Buffer Binds are a work in progress, and improvements are coming, including allowing for more than three powers per Buffer Bind</i></p>
<p><i>Buffer Binds are a work in progress, and improvements are coming, including allowing for more than three powers per Buffer Bind.</i></p>
</body>
</html>
4 changes: 2 additions & 2 deletions Page/CustomBinds.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ def BuildPage(self):
newSimpleBindButton = wx.Button(self, -1, "New Simple Bind")
newSimpleBindButton.Bind(wx.EVT_BUTTON, self.OnNewSimpleBindButton)
buttonSizer.Add(newSimpleBindButton, wx.ALIGN_CENTER)
buttonSizer.Add(HelpButton(self, 'SimpleBinds.html'), 0, wx.ALIGN_CENTER)
buttonSizer.Add(HelpButton(self, 'SimpleBinds.html'), 0, wx.ALIGN_CENTER|wx.RIGHT, 5)
newComplexBindButton = wx.Button(self, -1, "New Complex Bind")
newComplexBindButton.Bind(wx.EVT_BUTTON, self.OnNewComplexBindButton)
buttonSizer.Add(newComplexBindButton, wx.ALIGN_CENTER)
buttonSizer.Add(HelpButton(self, 'ComplexBinds.html'), 0, wx.ALIGN_CENTER)
buttonSizer.Add(HelpButton(self, 'ComplexBinds.html'), 0, wx.ALIGN_CENTER|wx.RIGHT, 5)
newBufferBindButton = wx.Button(self, -1, "New Buffer Bind")
newBufferBindButton.Bind(wx.EVT_BUTTON, self.OnNewBufferBindButton)
buttonSizer.Add(newBufferBindButton, wx.ALIGN_CENTER)
Expand Down
2 changes: 1 addition & 1 deletion UI/PowerBinderDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ def BuildUI(self, dialog):
useInspByNameSizer = wx.BoxSizer(wx.HORIZONTAL)
useInspByNameSizer.Add(wx.StaticText(dialog, -1, "Inspiration:"), 0,
wx.ALIGN_CENTER_VERTICAL|wx.RIGHT, 4)
self.useInspByNameModeChoice = BitmapComboBox(dialog, size = (200, -1), style = wx.CB_READONLY)
self.useInspByNameModeChoice = BitmapComboBox(dialog, style = wx.CB_READONLY)
for _, types in GameData.Inspirations.items():
for _, info in types.items():
for insp in info['tiers']:
Expand Down

0 comments on commit 44be553

Please sign in to comment.