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
bca4c4ba
Commit
bca4c4ba
authored
Apr 19, 2021
by
Prakhar Agarwal
🎯
Browse files
Merge branch 'emscripten' into def_reset_zoom
parents
001c696a
ae0fb11a
Changes
13
Hide whitespace changes
Inline
Side-by-side
emscripten/project/purr-data/index.html
View file @
bca4c4ba
...
...
@@ -101,7 +101,7 @@
<div
class=
"console-find-webapp"
id=
"console_find"
style=
"display: none;"
>
<div
class=
"d-flex justify-content-end align-items-center"
>
<label><input
type=
"text"
id=
"console_find_text"
name=
"console_find_text"
defaultValue=
"Search in Console"
style=
"width: 15em;"
placeholder=
"Search in Console"
/>
</label>
<label
class=
"highlight-find d-flex align-items-center"
style =
"color: #6c757d"
>
<label
class=
"highlight-find d-flex align-items-center"
>
Highlight All
<input
class=
"m-1"
type=
"checkbox"
id=
"console_find_highlight"
name=
"console_find_highlight"
onchange=
"console_find_highlight_all(this);"
/>
</label>
...
...
emscripten/project/purr-data/utils/actions.js
View file @
bca4c4ba
...
...
@@ -46,6 +46,9 @@ function load_menu_actions(){
window
.
getSelection
().
empty
();
window
.
getSelection
().
addRange
(
range
);
}
// show sidebar
$
(
"
#console_bottom
"
).
collapse
(
"
show
"
);
$
(
"
#open-icon
"
).
removeClass
(
"
rotate
"
);
}
});
...
...
@@ -88,6 +91,35 @@ function load_menu_actions(){
}
});
// View entries
minit
(
"
view-fullscreen
"
,{
onclick
:
function
(){
if
(
!
document
.
fullscreenElement
&&
!
document
.
mozFullScreenElement
&&
!
document
.
webkitFullscreenElement
&&
!
document
.
msFullscreenElement
)
{
if
(
document
.
documentElement
.
requestFullscreen
)
{
document
.
documentElement
.
requestFullscreen
();
}
else
if
(
document
.
documentElement
.
msRequestFullscreen
)
{
document
.
documentElement
.
msRequestFullscreen
();
}
else
if
(
document
.
documentElement
.
mozRequestFullScreen
)
{
document
.
documentElement
.
mozRequestFullScreen
();
}
else
if
(
document
.
documentElement
.
webkitRequestFullscreen
)
{
document
.
documentElement
.
webkitRequestFullscreen
(
Element
.
ALLOW_KEYBOARD_INPUT
);
}
}
else
{
if
(
document
.
exitFullscreen
)
{
document
.
exitFullscreen
();
}
else
if
(
document
.
msExitFullscreen
)
{
document
.
msExitFullscreen
();
}
else
if
(
document
.
mozCancelFullScreen
)
{
document
.
mozCancelFullScreen
();
}
else
if
(
document
.
webkitExitFullscreen
)
{
document
.
webkitExitFullscreen
();
}
}
}});
// Media entries
minit
(
"
media-test
"
,{
onclick
:
function
(){
pdbundle
.
pdgui
.
web_pd_doc_open
(
"
doc/7.stuff/tools
"
,
"
testtone.pd
"
)}});
...
...
@@ -152,6 +184,8 @@ function add_shortcuts(cid){
switch
(
shortcut
)
{
case
"
Ctrl+0
"
:
break
;
case
"
F11
"
:
break
;
default
:
e
.
preventDefault
()
window
.
shortkeys
[
cid
][
shortcut
].
click
();
...
...
pd/nw/css/c64.css
View file @
bca4c4ba
...
...
@@ -72,16 +72,16 @@ body {
/* marks for matches to console_find */
mark
{
background
:
white
;
background
:
white
!important
;
}
mark
.console_find_current.console_find_highlighted
,
mark
.console_find_current
{
background
:
yellow
;
background
:
yellow
!important
;
}
mark
.console_find_highlighted
{
background
:
#6bd4e6
;
background
:
#6bd4e6
!important
;
}
#console_find
{
...
...
pd/nw/css/default.css
View file @
bca4c4ba
...
...
@@ -176,16 +176,16 @@ body {
/* marks for matches to console_find */
mark
{
background
:
white
;
background
:
white
!important
;
}
mark
.console_find_current.console_find_highlighted
,
mark
.console_find_current
{
background
:
yellow
;
background
:
yellow
!important
;
}
mark
.console_find_highlighted
{
background
:
#6bd4e6
;
background
:
#6bd4e6
!important
;
}
#console_find
{
...
...
pd/nw/css/extended.css
View file @
bca4c4ba
...
...
@@ -66,16 +66,16 @@ body {
/* marks for matches to console_find */
mark
{
background
:
white
;
background
:
white
!important
;
}
mark
.console_find_current.console_find_highlighted
,
mark
.console_find_current
{
background
:
yellow
;
background
:
yellow
!important
;
}
mark
.console_find_highlighted
{
background
:
#6bd4e6
;
background
:
#6bd4e6
!important
;
}
#console_find
{
...
...
pd/nw/css/footgun.css
View file @
bca4c4ba
...
...
@@ -183,16 +183,16 @@ body {
/* marks for matches to console_find */
mark
{
background
:
white
;
background
:
white
!important
;
}
mark
.console_find_current.console_find_highlighted
,
mark
.console_find_current
{
background
:
yellow
;
background
:
yellow
!important
;
}
mark
.console_find_highlighted
{
background
:
#6bd4e6
;
background
:
#6bd4e6
!important
;
}
#console_find
{
...
...
pd/nw/css/inverted.css
View file @
bca4c4ba
...
...
@@ -73,16 +73,16 @@ body {
/* marks for matches to console_find */
mark
{
background
:
white
;
background
:
white
!important
;
}
mark
.console_find_current.console_find_highlighted
,
mark
.console_find_current
{
background
:
yellow
;
background
:
yellow
!important
;
}
mark
.console_find_highlighted
{
background
:
#6bd4e6
;
background
:
#6bd4e6
!important
;
}
#console_find
{
...
...
pd/nw/css/solarized.css
View file @
bca4c4ba
...
...
@@ -74,16 +74,16 @@ body {
/* marks for matches to console_find */
mark
{
background
:
#eee8d5
;
background
:
#eee8d5
!important
;
}
mark
.console_find_current.console_find_highlighted
,
mark
.console_find_current
{
background
:
#b58900
;
background
:
#b58900
!important
;
}
mark
.console_find_highlighted
{
background
:
#6bd4e6
;
background
:
#6bd4e6
!important
;
}
#console_find
{
...
...
pd/nw/css/solarized_inverted.css
View file @
bca4c4ba
...
...
@@ -74,16 +74,16 @@ body {
/* marks for matches to console_find */
mark
{
background
:
#eee8d5
;
background
:
#eee8d5
!important
;
}
mark
.console_find_current.console_find_highlighted
,
mark
.console_find_current
{
background
:
#b58900
;
background
:
#b58900
!important
;
}
mark
.console_find_highlighted
{
background
:
#6bd4e6
;
background
:
#6bd4e6
!important
;
}
#console_find
{
...
...
pd/nw/css/strongbad.css
View file @
bca4c4ba
...
...
@@ -72,16 +72,16 @@ body {
/* marks for matches to console_find */
mark
{
background
:
white
;
background
:
white
!important
;
}
mark
.console_find_current.console_find_highlighted
,
mark
.console_find_current
{
background
:
yellow
;
background
:
yellow
!important
;
}
mark
.console_find_highlighted
{
background
:
#6bd4e6
;
background
:
#6bd4e6
!important
;
}
#console_find
{
...
...
pd/nw/css/subdued.css
View file @
bca4c4ba
...
...
@@ -72,16 +72,16 @@ body {
/* marks for matches to console_find */
mark
{
background
:
white
;
background
:
white
!important
;
}
mark
.console_find_current.console_find_highlighted
,
mark
.console_find_current
{
background
:
yellow
;
background
:
yellow
!important
;
}
mark
.console_find_highlighted
{
background
:
#6bd4e6
;
background
:
#6bd4e6
!important
;
}
#console_find
{
...
...
pd/nw/css/vanilla.css
View file @
bca4c4ba
...
...
@@ -66,16 +66,16 @@ body {
/* marks for matches to console_find */
mark
{
background
:
white
;
background
:
white
!important
;
}
mark
.console_find_current.console_find_highlighted
,
mark
.console_find_current
{
background
:
yellow
;
background
:
yellow
!important
;
}
mark
.console_find_highlighted
{
background
:
#6bd4e6
;
background
:
#6bd4e6
!important
;
}
#console_find
{
...
...
pd/nw/css/vanilla_inverted.css
View file @
bca4c4ba
...
...
@@ -72,16 +72,16 @@ body {
/* marks for matches to console_find */
mark
{
background
:
white
;
background
:
white
!important
;
}
mark
.console_find_current.console_find_highlighted
,
mark
.console_find_current
{
background
:
yellow
;
background
:
yellow
!important
;
}
mark
.console_find_highlighted
{
background
:
#6bd4e6
;
background
:
#6bd4e6
!important
;
}
#console_find
{
...
...
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