hiriarchy ring
This commit is contained in:
1 parent
f1ca837976
commit
bb4114df8b
3 files changed
+4
-4
No files matched your search
@@ -386,7 +386,7 @@ function newFloatingObject () {
|
||||
thisObject.targetRadius = thisObject.rawRadius * 6.0
|
||||
thisObject.targetImageSize = thisObject.rawImageSize * 2.0
|
||||
thisObject.targetFontSize = thisObject.rawFontSize * 2.0
|
||||
thisObject.targetHierarchyRing = thisObject.rawHierarchyRing * 6.0
|
||||
thisObject.targetHierarchyRing = thisObject.rawHierarchyRing * 8.0
|
||||
|
||||
thisObject.payload.uiObject.container.eventHandler.raiseEvent('onFocus', point)
|
||||
|
||||
@@ -513,7 +513,7 @@ function newFloatingObject () {
|
||||
|
||||
thisObject.rawHierarchyRing = radius
|
||||
thisObject.targetHierarchyRing = radius
|
||||
thisObject.currentHierarchyRing = radius / 3
|
||||
thisObject.currentHierarchyRing = radius
|
||||
}
|
||||
|
||||
function initializeCurrentPosition (arroundPoint) {
|
||||
|
||||
@@ -1239,7 +1239,7 @@ function newUiObject () {
|
||||
let nodeDefinition = APP_SCHEMA_MAP.get(thisObject.payload.node.type)
|
||||
if (nodeDefinition !== undefined) {
|
||||
if (nodeDefinition.isHierarchyHead === true) {
|
||||
VISIBLE_RADIUS = thisObject.payload.floatingObject.currentHierarchyRing * 2.1
|
||||
VISIBLE_RADIUS = thisObject.payload.floatingObject.currentHierarchyRing * 2.8
|
||||
let OPACITY = 1
|
||||
|
||||
browserCanvasContext.beginPath()
|
||||
|
||||
@@ -373,7 +373,7 @@ function newUiObjectConstructor () {
|
||||
const INITIAL_FONT_SIZE = 12 * 1.5
|
||||
const INITIAL_RADIOUS = 45 * 1.5
|
||||
const INITIAL_IMAGE_SIZE = 80 * 1.2
|
||||
const INITIAL_HIERARCHY_RING = 35
|
||||
const INITIAL_HIERARCHY_RING = 20
|
||||
|
||||
switch (payload.node.type) {
|
||||
case 'Workspace': {
|
||||
|
||||
Reference in new issue
Block a user