Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nghyd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
Cassiopée
nghyd
Commits
05c7d181
Commit
05c7d181
authored
4 years ago
by
Mathias Chouet
Browse files
Options
Downloads
Patches
Plain Diff
Fix
#389
- SectionParam: add Y on schema
parent
eba93408
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#137844
passed
4 years ago
Stage: jalhyd
Stage: install
Stage: build
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/components/section-results/section-results.component.ts
+5
-0
5 additions, 0 deletions
...p/components/section-results/section-results.component.ts
with
5 additions
and
0 deletions
src/app/components/section-results/section-results.component.ts
+
5
−
0
View file @
05c7d181
...
...
@@ -54,6 +54,7 @@ export class SectionResultsComponent extends ResultsComponentDirective implement
"
Ycor
"
:
{
r
:
128
,
g
:
128
,
b
:
128
},
"
Yc
"
:
{
r
:
255
,
g
:
128
,
b
:
0
},
"
Ycon
"
:
{
r
:
255
,
g
:
0
,
b
:
255
},
"
Y
"
:
{
r
:
50
,
g
:
50
,
b
:
50
}
};
/** hardcoded bullet-proof default canvas size **/
...
...
@@ -127,6 +128,10 @@ export class SectionResultsComponent extends ResultsComponentDirective implement
}
}
// ajout du tirant d'eau saisi
const
valY
=
this
.
_results
.
result
.
sourceNub
.
getParameter
(
"
Y
"
).
singleValue
;
this
.
_sectionCanvas
.
addLevel
(
valY
,
"
Y =
"
+
this
.
formattedValue
(
valY
),
SectionResultsComponent
.
labelColors
[
"
Y
"
]);
// wait just a little to draw, in case this._sectionCanvas.size was changed above (1st run)
setTimeout
(()
=>
{
if
(
this
.
_results
&&
this
.
_results
.
section
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment