mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Only update hover execution state if cell is not active. (#19073)
This commit is contained in:
@@ -287,8 +287,11 @@ export class CellModel extends Disposable implements ICellModel {
|
|||||||
|
|
||||||
public set hover(value: boolean) {
|
public set hover(value: boolean) {
|
||||||
this._hover = value;
|
this._hover = value;
|
||||||
|
// The Run button is always visible while the cell is active, so we only need to emit this event for inactive cells
|
||||||
|
if (!this.active) {
|
||||||
this.fireExecutionStateChanged();
|
this.fireExecutionStateChanged();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public get executionCount(): number | undefined {
|
public get executionCount(): number | undefined {
|
||||||
return this._executionCount;
|
return this._executionCount;
|
||||||
|
|||||||
Reference in New Issue
Block a user