Skip to content

Commit

Permalink
Added rule editor rectangles tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Oct 11, 2023
1 parent fcb6470 commit 540c1e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/electron.renderer/ui/modal/dialog/RuleEditor.hx
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ class RuleEditor extends ui.modal.Dialog {
var rect = td.getTileRectFromTileIds(rectIds);
var jImg = td.createTileHtmlImageFromRect(rect);
jImg.addClass("clickable");
Tip.attach(jImg, "Left click to change\nRight click to remove");
var i = rectIdx;
jImg.mousedown( (ev:js.jquery.Event)->{
switch ev.button {
Expand Down

0 comments on commit 540c1e5

Please # to comment.