Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
517fc25f
Commit
517fc25f
authored
Oct 23, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standard
parent
e0030a3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
draggableContent.js
src/app/ui/draggableContent.js
+4
-4
No files found.
src/app/ui/draggableContent.js
View file @
517fc25f
...
@@ -29,7 +29,7 @@ var css = csjs`
...
@@ -29,7 +29,7 @@ var css = csjs`
float: right;
float: right;
color:
${
styles
.
appProperties
.
solidBorderBox_BorderColor
}
;
color:
${
styles
.
appProperties
.
solidBorderBox_BorderColor
}
;
}
}
.modalAction {
.modalAction {
padding-right: 1px;
padding-right: 1px;
padding-left: 1px;
padding-left: 1px;
...
@@ -76,9 +76,9 @@ module.exports =
...
@@ -76,9 +76,9 @@ module.exports =
this
.
el
.
style
.
width
=
'150px'
this
.
el
.
style
.
width
=
'150px'
this
.
el
.
querySelector
(
'.title'
).
style
.
width
=
'146px'
this
.
el
.
querySelector
(
'.title'
).
style
.
width
=
'146px'
}
}
maximise
()
{
maximise
()
{
this
.
content
.
style
.
display
=
'block'
this
.
content
.
style
.
display
=
'block'
var
body
=
document
.
querySelector
(
'body'
)
var
body
=
document
.
querySelector
(
'body'
)
this
.
el
.
style
.
height
=
this
.
isMaximised
?
'500px'
:
body
.
offsetHeight
+
'px'
this
.
el
.
style
.
height
=
this
.
isMaximised
?
'500px'
:
body
.
offsetHeight
+
'px'
this
.
el
.
style
.
width
=
this
.
isMaximised
?
'500px'
:
body
.
offsetWidth
+
'px'
this
.
el
.
style
.
width
=
this
.
isMaximised
?
'500px'
:
body
.
offsetWidth
+
'px'
this
.
isMaximised
=
!
this
.
isMaximised
this
.
isMaximised
=
!
this
.
isMaximised
...
@@ -104,7 +104,7 @@ function dragElement (elmnt) {
...
@@ -104,7 +104,7 @@ function dragElement (elmnt) {
function
dragMouseDown
(
e
)
{
function
dragMouseDown
(
e
)
{
e
=
e
||
window
.
event
e
=
e
||
window
.
event
if
(
e
.
button
!=
0
)
return
if
(
e
.
button
!=
=
0
)
return
e
.
preventDefault
()
e
.
preventDefault
()
// get the mouse cursor position at startup:
// get the mouse cursor position at startup:
pos3
=
e
.
clientX
pos3
=
e
.
clientX
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment