Checkpoint before line-grid scrolling refactor
This commit is contained in:
@@ -40,7 +40,6 @@ class UIEffectsModule extends BaseModule {
|
||||
'applyEffect',
|
||||
'applyShakeEffect',
|
||||
'applyFlashEffect',
|
||||
'applyTextEmphasis',
|
||||
'processCommand',
|
||||
'handleLightingAnimationEnd'
|
||||
]);
|
||||
@@ -209,8 +208,6 @@ class UIEffectsModule extends BaseModule {
|
||||
return this.applyShakeEffect(options);
|
||||
case 'flash':
|
||||
return this.applyFlashEffect(options);
|
||||
case 'emphasis':
|
||||
return this.applyTextEmphasis(options.text, options);
|
||||
default:
|
||||
console.warn(`Unknown effect: ${effectName}`);
|
||||
return null;
|
||||
@@ -288,20 +285,6 @@ class UIEffectsModule extends BaseModule {
|
||||
return effectId;
|
||||
}
|
||||
|
||||
applyTextEmphasis(text, options = {}) {
|
||||
// Use existing display handler to show emphasized text
|
||||
const displayHandler = this.getModule('ui-display-handler');
|
||||
if (!displayHandler) return null;
|
||||
|
||||
const style = {
|
||||
fontWeight: 'bold',
|
||||
color: options.color || '#990000',
|
||||
fontSize: options.size || '1.2em'
|
||||
};
|
||||
|
||||
return displayHandler.displayText(text, { style, speak: true });
|
||||
}
|
||||
|
||||
processCommand(command) {
|
||||
switch (command.action) {
|
||||
case 'apply':
|
||||
|
||||
Reference in New Issue
Block a user