refactor(agent): Rename 'LongKeypressAction' to 'SecondaryRoleAction' (#462)
* refactor(agent): Rename 'LongKeypressAction' to 'SecondaryRoleAction' * build: Change the build order of the modules * fix(user-config): Fix hasSecondaryRoleAction() calculation * fix(user-config): fix stylelint warnings
This commit is contained in:
committed by
László Monda
parent
641248c9e6
commit
3ffaf918cd
@@ -25,7 +25,7 @@ import {
|
||||
KeystrokeAction,
|
||||
Layer,
|
||||
LayerName,
|
||||
LongPressAction,
|
||||
SecondaryRoleAction,
|
||||
MouseAction,
|
||||
MouseActionParam,
|
||||
PlayMacroAction,
|
||||
@@ -266,10 +266,10 @@ export class SvgKeyboardWrapComponent implements OnInit, OnChanges {
|
||||
});
|
||||
}
|
||||
|
||||
if (keystrokeAction.hasLongPressAction()) {
|
||||
if (keystrokeAction.hasSecondaryRoleAction()) {
|
||||
content.push({
|
||||
name: 'Long press',
|
||||
value: LongPressAction[keystrokeAction.longPressAction]
|
||||
name: 'Secondary role',
|
||||
value: SecondaryRoleAction[keystrokeAction.secondaryRoleAction]
|
||||
});
|
||||
}
|
||||
return Observable.of(content);
|
||||
|
||||
Reference in New Issue
Block a user