chore(context-pad): change gateway icon to GATEWAY_NONE

This is related to the recent palette change that dropped the marker
from the Gateway icon.

Related to 9edd462880
This commit is contained in:
Nico Rehwaldt 2018-04-09 14:33:26 +02:00
parent ee38ec7be1
commit 365522a49c
2 changed files with 16 additions and 5 deletions

View File

@ -6,6 +6,10 @@ All notable changes to [bpmn-js](https://github.com/bpmn-io/bpmn-js) are documen
___Note:__ Yet to be released changes appear here._
## 1.1.0
* `FEAT`: show gateway icon on context pad without marker ([`15dfab6b`](https://github.com/bpmn-io/bpmn-js/commit/15dfab6b5b12dd184acf070f2ab3ad205d1b245c))
## 1.0.4
* `FIX`: properly wire `$parent` on copy + paste

View File

@ -290,9 +290,14 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
assign(actions, {
'append.compensation-activity':
appendAction('bpmn:Task', 'bpmn-icon-task', translate('Append compensation activity'), {
isForCompensation: true
})
appendAction(
'bpmn:Task',
'bpmn-icon-task',
translate('Append compensation activity'),
{
isForCompensation: true
}
)
});
} else
@ -308,7 +313,8 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
),
'append.gateway': appendAction(
'bpmn:ExclusiveGateway',
'bpmn-icon-gateway-xor'
'bpmn-icon-gateway-none',
translate('Append Gateway')
),
'append.append-task': appendAction(
'bpmn:Task',
@ -316,7 +322,8 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
),
'append.intermediate-event': appendAction(
'bpmn:IntermediateThrowEvent',
'bpmn-icon-intermediate-event-none'
'bpmn-icon-intermediate-event-none',
translate('Append Intermediate/Boundary Event')
)
});
}