mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 17:56:51 +13:00
Fix weird incorrect menu position problem
This commit is contained in:
parent
3f5f01804e
commit
d1d6ef0513
1 changed files with 3 additions and 0 deletions
|
@ -435,6 +435,9 @@ private void CreateMenu()
|
|||
};
|
||||
tsddbShapeOptions.DropDownItems.Add(tslnudPixelateSize);
|
||||
|
||||
// In dropdown menu if only last item is visible then menu opens at 0, 0 position on first open, so need to add dummy item to solve this weird bug...
|
||||
tsddbShapeOptions.DropDownItems.Add(new ToolStripSeparator() { Visible = false });
|
||||
|
||||
tsbUndoObject = new ToolStripButton("Undo object");
|
||||
tsbUndoObject.DisplayStyle = ToolStripItemDisplayStyle.Image;
|
||||
tsbUndoObject.Image = Resources.arrow_circle_225_left;
|
||||
|
|
Loading…
Reference in a new issue