Docs and Tutorials completely separated into Education Project
This commit is contained in:
1 parent
b3840ad8db
commit
c9c0aeaca7
8 files changed
+48
-9
No files matched your search
@@ -12,6 +12,7 @@ function newEthereumBlockchainSpace() {
|
||||
|
||||
thisObject.container = newContainer()
|
||||
thisObject.container.initialize(MODULE_NAME)
|
||||
thisObject.container.isDraggeable = false
|
||||
|
||||
let lastTryToReconnectDatetime
|
||||
|
||||
@@ -166,6 +167,8 @@ function newEthereumBlockchainSpace() {
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
return undefined // since this space does not draw anything we return here
|
||||
|
||||
if (thisObject.container.frame.isThisPointHere(point, true) === true) {
|
||||
thisObject.container.space = MODULE_NAME
|
||||
return thisObject.container
|
||||
|
||||
@@ -12,6 +12,7 @@ function newEthereumWalletSpace() {
|
||||
|
||||
thisObject.container = newContainer()
|
||||
thisObject.container.initialize(MODULE_NAME)
|
||||
thisObject.container.isDraggeable = false
|
||||
|
||||
let lastTryToReconnectDatetime
|
||||
|
||||
@@ -149,6 +150,8 @@ function newEthereumWalletSpace() {
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
return undefined // since this space does not draw anything we return here
|
||||
|
||||
if (thisObject.container.frame.isThisPointHere(point, true) === true) {
|
||||
thisObject.container.space = MODULE_NAME
|
||||
return thisObject.container
|
||||
|
||||
@@ -12,6 +12,7 @@ function newGobernanceAssetsSpace() {
|
||||
|
||||
thisObject.container = newContainer()
|
||||
thisObject.container.initialize(MODULE_NAME)
|
||||
thisObject.container.isDraggeable = false
|
||||
|
||||
return thisObject
|
||||
|
||||
@@ -30,6 +31,8 @@ function newGobernanceAssetsSpace() {
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
return undefined // since this space does not draw anything we return here
|
||||
|
||||
if (thisObject.container.frame.isThisPointHere(point, true) === true) {
|
||||
thisObject.container.space = MODULE_NAME
|
||||
return thisObject.container
|
||||
|
||||
@@ -12,6 +12,7 @@ function newGovernanceFeaturesSpace() {
|
||||
|
||||
thisObject.container = newContainer()
|
||||
thisObject.container.initialize(MODULE_NAME)
|
||||
thisObject.container.isDraggeable = false
|
||||
|
||||
return thisObject
|
||||
|
||||
@@ -30,6 +31,8 @@ function newGovernanceFeaturesSpace() {
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
return undefined // since this space does not draw anything we return here
|
||||
|
||||
if (thisObject.container.frame.isThisPointHere(point, true) === true) {
|
||||
thisObject.container.space = MODULE_NAME
|
||||
return thisObject.container
|
||||
|
||||
@@ -12,6 +12,7 @@ function newGovernancePoolsSpace() {
|
||||
|
||||
thisObject.container = newContainer()
|
||||
thisObject.container.initialize(MODULE_NAME)
|
||||
thisObject.container.isDraggeable = false
|
||||
|
||||
return thisObject
|
||||
|
||||
@@ -26,6 +27,8 @@ function newGovernancePoolsSpace() {
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
return undefined // since this space does not draw anything we return here
|
||||
|
||||
if (thisObject.container.frame.isThisPointHere(point, true) === true) {
|
||||
thisObject.container.space = MODULE_NAME
|
||||
return thisObject.container
|
||||
|
||||
@@ -12,8 +12,7 @@ function newGovernancePositionsSpace() {
|
||||
|
||||
thisObject.container = newContainer()
|
||||
thisObject.container.initialize(MODULE_NAME)
|
||||
|
||||
let lastTryToReconnectDatetime
|
||||
thisObject.container.isDraggeable = false
|
||||
|
||||
return thisObject
|
||||
|
||||
@@ -32,6 +31,8 @@ function newGovernancePositionsSpace() {
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
return undefined // since this space does not draw anything we return here
|
||||
|
||||
if (thisObject.container.frame.isThisPointHere(point, true) === true) {
|
||||
thisObject.container.space = MODULE_NAME
|
||||
return thisObject.container
|
||||
|
||||
@@ -12,6 +12,7 @@ function newGovernanceUserProfileSpace() {
|
||||
|
||||
thisObject.container = newContainer()
|
||||
thisObject.container.initialize(MODULE_NAME)
|
||||
thisObject.container.isDraggeable = false
|
||||
|
||||
return thisObject
|
||||
|
||||
@@ -26,6 +27,8 @@ function newGovernanceUserProfileSpace() {
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
return undefined // since this space does not draw anything we return here
|
||||
|
||||
if (thisObject.container.frame.isThisPointHere(point, true) === true) {
|
||||
thisObject.container.space = MODULE_NAME
|
||||
return thisObject.container
|
||||
|
||||
+27
-7
@@ -380,7 +380,7 @@ function newCanvas() {
|
||||
return
|
||||
}
|
||||
/* When the Docs is Visible, we do not process key down events of the Designer Space. */
|
||||
if (UI.projects.education.spaces.docsSpace.isVisible === true) {
|
||||
if (UI.projects.education !== undefined && UI.projects.education.spaces.docsSpace.isVisible === true) {
|
||||
return
|
||||
}
|
||||
thisObject.mouse.event = event
|
||||
@@ -388,8 +388,8 @@ function newCanvas() {
|
||||
|
||||
checkMediaRecording(event)
|
||||
|
||||
event.x = thisObject.mouse.position.x
|
||||
event.y = thisObject.mouse.position.y
|
||||
event.x = thisObject.mouse.position.x
|
||||
event.y = thisObject.mouse.position.y
|
||||
|
||||
UI.projects.superalgos.spaces.chartingSpace.onKeyPressed(event)
|
||||
|
||||
@@ -716,10 +716,15 @@ function newCanvas() {
|
||||
and we are going to query each space to see if they have the container that is at
|
||||
the mouse position. We will order firt the spaces by the sequence order defined
|
||||
at the project schema specifically for this mouse event.
|
||||
|
||||
The order of the projects for events evaluations has intentionally been inverted,
|
||||
because the latest project is drwan the last, on top of the others, that means that
|
||||
events should belong to the last first.
|
||||
*/
|
||||
for (let i = 0; i < PROJECTS_SCHEMA.length; i++) {
|
||||
for (let i = PROJECTS_SCHEMA.length - 1; i >= 0; i--) {
|
||||
let projectDefinition = PROJECTS_SCHEMA[i]
|
||||
let projectInstance = UI.projects[projectDefinition.propertyName]
|
||||
if (projectInstance === undefined) { continue }
|
||||
|
||||
for (let j = 0; j < projectDefinition.UI.spaces.length; j++) {
|
||||
let spaceInstance = projectInstance.events.onMouseDownMap.get(j)
|
||||
@@ -819,10 +824,15 @@ function newCanvas() {
|
||||
and we are going to query each space to see if they have the container that is at
|
||||
the mouse position. We will order firt the spaces by the sequence order defined
|
||||
at the project schema specifically for this mouse event.
|
||||
|
||||
The order of the projects for events evaluations has intentionally been inverted,
|
||||
because the latest project is drwan the last, on top of the others, that means that
|
||||
events should belong to the last first.
|
||||
*/
|
||||
for (let i = 0; i < PROJECTS_SCHEMA.length; i++) {
|
||||
for (let i = PROJECTS_SCHEMA.length - 1; i >= 0; i--) {
|
||||
let projectDefinition = PROJECTS_SCHEMA[i]
|
||||
let projectInstance = UI.projects[projectDefinition.propertyName]
|
||||
if (projectInstance === undefined) { continue }
|
||||
|
||||
for (let j = 0; j < projectDefinition.UI.spaces.length; j++) {
|
||||
let spaceInstance = projectInstance.events.onMouseClickMap.get(j)
|
||||
@@ -930,10 +940,15 @@ function newCanvas() {
|
||||
and we are going to query each space to see if they have the container that is at
|
||||
the mouse position. We will order firt the spaces by the sequence order defined
|
||||
at the project schema specifically for this mouse event.
|
||||
|
||||
The order of the projects for events evaluations has intentionally been inverted,
|
||||
because the latest project is drwan the last, on top of the others, that means that
|
||||
events should belong to the last first.
|
||||
*/
|
||||
for (let i = 0; i < PROJECTS_SCHEMA.length; i++) {
|
||||
for (let i = PROJECTS_SCHEMA.length - 1; i >= 0; i--) {
|
||||
let projectDefinition = PROJECTS_SCHEMA[i]
|
||||
let projectInstance = UI.projects[projectDefinition.propertyName]
|
||||
if (projectInstance === undefined) { continue }
|
||||
|
||||
for (let j = 0; j < projectDefinition.UI.spaces.length; j++) {
|
||||
let spaceInstance = projectInstance.events.onMouseOverMap.get(j)
|
||||
@@ -987,10 +1002,15 @@ function newCanvas() {
|
||||
and we are going to query each space to see if they have the container that is at
|
||||
the mouse position. We will order firt the spaces by the sequence order defined
|
||||
at the project schema specifically for this mouse event.
|
||||
|
||||
The order of the projects for events evaluations has intentionally been inverted,
|
||||
because the latest project is drwan the last, on top of the others, that means that
|
||||
events should belong to the last first.
|
||||
*/
|
||||
for (let i = 0; i < PROJECTS_SCHEMA.length; i++) {
|
||||
for (let i = PROJECTS_SCHEMA.length - 1; i >= 0; i--) {
|
||||
let projectDefinition = PROJECTS_SCHEMA[i]
|
||||
let projectInstance = UI.projects[projectDefinition.propertyName]
|
||||
if (projectInstance === undefined) { continue }
|
||||
|
||||
for (let j = 0; j < projectDefinition.UI.spaces.length; j++) {
|
||||
let spaceInstance = projectInstance.events.onMouseWheelMap.get(j)
|
||||
|
||||
Reference in new issue
Block a user