Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Eye-Tracking Classroom
/
Live-Gaze-Analyser
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
bd81744e
authored
Oct 14, 2019
by
Alexander Bazo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix minor bugs
parent
359f1a2f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
1 deletions
+2
-1
lib/logic/Task.js
+1
-1
www/images/Bruegel-Childrens_Games.jpg
+0
-0
www/resources/js/viewer/ImageViewer.js
+1
-0
No files found.
lib/logic/Task.js
View file @
bd81744e
...
...
@@ -15,7 +15,7 @@ const schema = require("@colyseus/schema"),
duration
:
15000
,
},
{
imageUrl
:
"images/Bruegel-Childrens_Games.jpg
.jpg
"
,
imageUrl
:
"images/Bruegel-Childrens_Games.jpg"
,
taskDescription
:
"Identifizieren Sie unterschiedliche Spiele."
,
taskSource
:
"Pieter Bruegel the Elder, Children's Bruegel-Childrens_Games (Oil on oak wood, 1560), Kunsthistorisches Museum, Vienna"
,
duration
:
15000
,
...
...
www/images/Bruegel-Childrens_Games.jpg
View file @
bd81744e
This image diff could not be displayed because it is too large. You can
view the blob
instead.
www/resources/js/viewer/ImageViewer.js
View file @
bd81744e
...
...
@@ -60,6 +60,7 @@ class ImageViewer {
image
=
new
Image
();
image
.
src
=
imageUrl
;
image
.
onload
=
function
()
{
that
.
backgroundContext
.
clearRect
(
0
,
0
,
screen
.
width
,
screen
.
height
);
that
.
backgroundContext
.
drawImage
(
image
,
0
,
0
);
};
}
...
...
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