Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tutor-shot-extension
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ramdayal Munda
tutor-shot-extension
Commits
3677ab23
Commit
3677ab23
authored
Nov 15, 2023
by
ramdayalmunda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hidden capture button
parent
c81bae52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
background.js
background.js
+1
-0
content.js
content.js
+4
-4
No files found.
background.js
View file @
3677ab23
...
@@ -265,6 +265,7 @@ var getUserDetails = null
...
@@ -265,6 +265,7 @@ var getUserDetails = null
});
});
sendMessageToActiveTab
(
"recordingStopped"
)
sendMessageToActiveTab
(
"recordingStopped"
)
setData
(
"recording"
,
false
)
setData
(
"recording"
,
false
)
setData
(
"imageNumber"
,
0
)
setData
(
"tutorShotId"
,
tutorShotId
)
setData
(
"tutorShotId"
,
tutorShotId
)
return
return
}
}
...
...
content.js
View file @
3677ab23
...
@@ -150,7 +150,7 @@ var tutorShotOid = null;
...
@@ -150,7 +150,7 @@ var tutorShotOid = null;
<img class="img" src="
${
origin
}
/assets/icons/redo.svg" width="20">
<img class="img" src="
${
origin
}
/assets/icons/redo.svg" width="20">
<span class="item-text">RESTART</span>
<span class="item-text">RESTART</span>
</div>
</div>
<div class="item" tutor-shot="capture-btn">
<div class="item" tutor-shot="capture-btn"
style="display:none;"
>
<img class="img" src="
${
origin
}
/assets/icons/capture.svg" width="20">
<img class="img" src="
${
origin
}
/assets/icons/capture.svg" width="20">
<span class="item-text">CAPTURE</span>
<span class="item-text">CAPTURE</span>
</div>
</div>
...
@@ -244,21 +244,21 @@ function reRenderFloatingBar(data) {
...
@@ -244,21 +244,21 @@ function reRenderFloatingBar(data) {
btn
.
pause
.
style
.
display
=
'none'
btn
.
pause
.
style
.
display
=
'none'
btn
.
stop
.
style
.
display
=
'flex'
btn
.
stop
.
style
.
display
=
'flex'
btn
.
restart
.
style
.
display
=
'flex'
btn
.
restart
.
style
.
display
=
'flex'
btn
.
capture
.
style
.
display
=
'flex'
//
btn.capture.style.display = 'flex'
}
}
else
if
(
data
?.
status
==
'recording'
)
{
else
if
(
data
?.
status
==
'recording'
)
{
btn
.
play
.
style
.
display
=
'none'
btn
.
play
.
style
.
display
=
'none'
btn
.
pause
.
style
.
display
=
'flex'
btn
.
pause
.
style
.
display
=
'flex'
btn
.
restart
.
style
.
display
=
'flex'
btn
.
restart
.
style
.
display
=
'flex'
btn
.
capture
.
style
.
display
=
'flex'
btn
.
stop
.
style
.
display
=
'flex'
btn
.
stop
.
style
.
display
=
'flex'
// btn.capture.style.display = 'flex'
}
}
else
{
// stopped
else
{
// stopped
btn
.
play
.
style
.
display
=
'flex'
btn
.
play
.
style
.
display
=
'flex'
btn
.
pause
.
style
.
display
=
'none'
btn
.
pause
.
style
.
display
=
'none'
btn
.
stop
.
style
.
display
=
'none'
btn
.
stop
.
style
.
display
=
'none'
btn
.
capture
.
style
.
display
=
'none'
btn
.
restart
.
style
.
display
=
'none'
btn
.
restart
.
style
.
display
=
'none'
// btn.capture.style.display = 'none'
}
}
// floatingBar.innerHTML = innerHTML
// floatingBar.innerHTML = innerHTML
}
}
...
...
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