mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Allow toolbar dragging when image editor is fullscreen
This commit is contained in:
parent
7ef8f374d7
commit
6544e1285f
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 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,
|
||||||
|
|
Loading…
Reference in a new issue