From f785a92bea3aec07b20332887a13621b21a2d13e Mon Sep 17 00:00:00 2001 From: HalynaVladyka Date: Wed, 13 Jan 2016 11:39:47 +0200 Subject: [PATCH] last changes --- .../Hubs/BroadcastHub.cs | 8 ++--- .../Views/Operator/Index.cshtml | 2 ++ .../Operator/controllers/playerController.js | 33 ++++++++++++++----- .../scriptServices/broadcastOperator.js | 2 +- .../app/Prompter/prompter-service.js | 18 ++++++---- 5 files changed, 43 insertions(+), 20 deletions(-) diff --git a/Main/SoftServe.ITA.PrompterPro/PrompterPro.WebApplication/Hubs/BroadcastHub.cs b/Main/SoftServe.ITA.PrompterPro/PrompterPro.WebApplication/Hubs/BroadcastHub.cs index ab556c2..2a2ad21 100644 --- a/Main/SoftServe.ITA.PrompterPro/PrompterPro.WebApplication/Hubs/BroadcastHub.cs +++ b/Main/SoftServe.ITA.PrompterPro/PrompterPro.WebApplication/Hubs/BroadcastHub.cs @@ -377,14 +377,14 @@ public void MirrorText(bool? isMirroredX, bool? isMirroredY) Clients.OthersInGroup(GetGroupName()).mirrorText(isMirroredX, isMirroredY); } - public void HandPlay() + public void HandPlay(double TextAreaPosition) { - Clients.All.handPlay(); + Clients.All.handPlay(TextAreaPosition); } - public void HandPlayBack() + public void HandPlayBack(double TextAreaPosition) { - Clients.All.handPlayBack(); + Clients.All.handPlayBack(TextAreaPosition); } public void PadRight(int percentage) diff --git a/Main/SoftServe.ITA.PrompterPro/PrompterPro.WebApplication/Views/Operator/Index.cshtml b/Main/SoftServe.ITA.PrompterPro/PrompterPro.WebApplication/Views/Operator/Index.cshtml index 1db7f7f..f7035f0 100644 --- a/Main/SoftServe.ITA.PrompterPro/PrompterPro.WebApplication/Views/Operator/Index.cshtml +++ b/Main/SoftServe.ITA.PrompterPro/PrompterPro.WebApplication/Views/Operator/Index.cshtml @@ -502,11 +502,13 @@