Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
df8a0eb4
Commit
df8a0eb4
authored
Jun 29, 2020
by
Jonathan Wilkes
Browse files
Merge branch 'dialog-n-annotation'
parents
98f347e8
46466c8f
Changes
3
Hide whitespace changes
Inline
Side-by-side
pd/nw/css/default.css
View file @
df8a0eb4
...
...
@@ -526,12 +526,13 @@ text {
/* Dialog to ask to save the patch before quitting */
#save_before_quit
{
background-color
:
#f3f3f3
;
border
:
1px
solid
#
000
;
border
:
1px
solid
#
f3f3f3
;
padding
:
12px
;
margin
:
12px
;
/*box-shadow: 7px 7px 5px grey;*/
left
:
50%
;
top
:
50%
;
width
:
40%
;
transform
:
translate
(
-50%
,
-50%
);
}
...
...
pd/nw/dialog_text.html
View file @
df8a0eb4
...
...
@@ -17,8 +17,9 @@
</button>
</div>
<dialog
id=
"save_before_quit"
>
<h4>
Do you want to save the changes you made before closing the window?
</h4>
<h5
style=
"text-align: center;"
>
Do you want to save the changes you made before closing the window?
</h5>
<div
class=
"submit_buttons"
>
<button
type=
"button"
onClick=
"ok()"
...
...
pd/nw/pd_canvas.html
View file @
df8a0eb4
...
...
@@ -55,9 +55,9 @@
<ol></ol>
</div>
<dialog
id=
"save_before_quit"
>
<h
4
><span
data-i18n=
"canvas.save_dialog.prompt"
></span>
<h
5
style=
"text-align: center;"
><span
data-i18n=
"canvas.save_dialog.prompt"
></span>
<span
id=
"save_before_quit_filename"
></span>
?
</h
4
>
</h
5
>
<div
class=
"submit_buttons"
>
<button
type=
"button"
id=
"yes_button"
...
...
@@ -76,7 +76,7 @@
</button>
</div>
</dialog>
<div
id=
"hscroll"
style=
"background-color: #00000044; position: fixed; left: 2px; bottom: 2px; border-radius: 0px; width: 10px; height: 5px; visibility: hidden;"
></div>
<div
id=
"hscroll"
style=
"background-color: #00000044; position: fixed; left: 2px; bottom: 2px; border-radius: 0px; width: 10px; height: 5px; visibility: hidden;"
></div>
<div
id=
"vscroll"
style=
"background-color: #00000044; position: fixed; right: 2px; top: 2px; border-radius: 0px; width: 5px; height: 10px; visibility: hidden;"
></div>
<script
type=
"text/javascript"
src=
"./pd_canvas.js"
></script>
</body>
...
...
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