Skip to content

Commit

Permalink
this
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm committed Dec 8, 2024
1 parent e214b09 commit 3608d72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
12 changes: 1 addition & 11 deletions js/src/widget_ngl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,17 +268,7 @@ export class NGLView extends widgets.DOMWidgetView {
}

async createIPlayer() {
this.player_pview = this.createView("_iplayer");
var view = await this.player_pview
var that = this;
var pe = view.el
pe.style.position = 'absolute'
pe.style.zIndex = 100
pe.style.bottom = '5%'
pe.style.left = '10%'
pe.style.opacity = '0.7'
that.stage.viewer.container.append(view.el);
pe.style.display = 'none'
this.uiManager.createIPlayer();
}

async createImageBtn() {
Expand Down
4 changes: 2 additions & 2 deletions notebooks/custom_color.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "27fdf6904f564c8bb7eb3018e5894a79",
"model_id": "7a1704d30e6a4b1c8448f2e849a0a395",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -42,7 +42,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "995c01dbc00c4c95ac73ab27f37072b3",
"model_id": "89fd84daabec4183951abfbb6fbd710d",
"version_major": 2,
"version_minor": 0
},
Expand Down

0 comments on commit 3608d72

Please sign in to comment.