Merge pull request #2888 from L1Q/master

Allow toolbar dragging when image editor is fullscreen
This commit is contained in:
Jaex 2017-10-28 18:35:05 +03:00 committed by GitHub
commit 739c857871
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 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,