Allow toolbar dragging when image editor is fullscreen

This commit is contained in:
L1Q 2017-10-28 18:04:45 +03:00
parent 7ef8f374d7
commit 6544e1285f

View file

@ -52,6 +52,7 @@ internal partial class ShapeManager
private ToolStripMenuItem tsmiArrowHeadsBothSide, tsmiShadow, tsmiUndo, tsmiDelete, tsmiDeleteAll, tsmiMoveTop, tsmiMoveUp, tsmiMoveDown, tsmiMoveBottom, tsmiRegionCapture, tsmiQuickCrop, tsmiTips; private ToolStripMenuItem tsmiArrowHeadsBothSide, tsmiShadow, tsmiUndo, tsmiDelete, tsmiDeleteAll, tsmiMoveTop, tsmiMoveUp, tsmiMoveDown, tsmiMoveBottom, tsmiRegionCapture, tsmiQuickCrop, tsmiTips;
private ToolStripLabeledNumericUpDown tslnudBorderSize, tslnudCornerRadius, tslnudCenterPoints, tslnudBlurRadius, tslnudPixelateSize; private ToolStripLabeledNumericUpDown tslnudBorderSize, tslnudCornerRadius, tslnudCenterPoints, tslnudBlurRadius, tslnudPixelateSize;
private ToolStripLabel tslDragLeft; private ToolStripLabel tslDragLeft;
private ToolStripLabel tslDragRight;
private ToolStripLabeledComboBox tscbCursorTypes; private ToolStripLabeledComboBox tscbCursorTypes;
internal void CreateToolbar() internal void CreateToolbar()
@ -112,7 +113,7 @@ internal void CreateToolbar()
menuForm.Controls.Add(tsMain); menuForm.Controls.Add(tsMain);
if (!form.IsEditorMode) if (form.IsFullscreen)
{ {
tslDragLeft = new ToolStripLabel() tslDragLeft = new ToolStripLabel()
{ {
@ -839,9 +840,9 @@ internal void CreateToolbar()
#endregion Options #endregion Options
if (!form.IsEditorMode) if (form.IsFullscreen)
{ {
ToolStripLabel tslDragRight = new ToolStripLabel() tslDragRight = new ToolStripLabel()
{ {
Alignment = ToolStripItemAlignment.Right, Alignment = ToolStripItemAlignment.Right,
DisplayStyle = ToolStripItemDisplayStyle.Image, DisplayStyle = ToolStripItemDisplayStyle.Image,