mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-06 05:05:42 +13:00
Merge pull request #2888 from L1Q/master
Allow toolbar dragging when image editor is fullscreen
This commit is contained in:
commit
739c857871
1 changed files with 4 additions and 3 deletions
|
@ -52,6 +52,7 @@ internal partial class ShapeManager
|
|||
private ToolStripMenuItem tsmiArrowHeadsBothSide, tsmiShadow, tsmiUndo, tsmiDelete, tsmiDeleteAll, tsmiMoveTop, tsmiMoveUp, tsmiMoveDown, tsmiMoveBottom, tsmiRegionCapture, tsmiQuickCrop, tsmiTips;
|
||||
private ToolStripLabeledNumericUpDown tslnudBorderSize, tslnudCornerRadius, tslnudCenterPoints, tslnudBlurRadius, tslnudPixelateSize;
|
||||
private ToolStripLabel tslDragLeft;
|
||||
private ToolStripLabel tslDragRight;
|
||||
private ToolStripLabeledComboBox tscbCursorTypes;
|
||||
|
||||
internal void CreateToolbar()
|
||||
|
@ -112,7 +113,7 @@ internal void CreateToolbar()
|
|||
|
||||
menuForm.Controls.Add(tsMain);
|
||||
|
||||
if (!form.IsEditorMode)
|
||||
if (form.IsFullscreen)
|
||||
{
|
||||
tslDragLeft = new ToolStripLabel()
|
||||
{
|
||||
|
@ -839,9 +840,9 @@ internal void CreateToolbar()
|
|||
|
||||
#endregion Options
|
||||
|
||||
if (!form.IsEditorMode)
|
||||
if (form.IsFullscreen)
|
||||
{
|
||||
ToolStripLabel tslDragRight = new ToolStripLabel()
|
||||
tslDragRight = new ToolStripLabel()
|
||||
{
|
||||
Alignment = ToolStripItemAlignment.Right,
|
||||
DisplayStyle = ToolStripItemDisplayStyle.Image,
|
||||
|
|
Loading…
Reference in a new issue